summaryrefslogtreecommitdiffstats
path: root/src/BlockEntities/DropSpenserEntity.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-02-12 23:06:13 +0100
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-02-12 23:06:13 +0100
commite915a0df4cf78f41a200f0a06aabf069aec1bb07 (patch)
tree03a270c2dac1aec28d685efa05c61c8914bed8d1 /src/BlockEntities/DropSpenserEntity.cpp
parentChanged inheritance a bit (diff)
downloadcuberite-e915a0df4cf78f41a200f0a06aabf069aec1bb07.tar
cuberite-e915a0df4cf78f41a200f0a06aabf069aec1bb07.tar.gz
cuberite-e915a0df4cf78f41a200f0a06aabf069aec1bb07.tar.bz2
cuberite-e915a0df4cf78f41a200f0a06aabf069aec1bb07.tar.lz
cuberite-e915a0df4cf78f41a200f0a06aabf069aec1bb07.tar.xz
cuberite-e915a0df4cf78f41a200f0a06aabf069aec1bb07.tar.zst
cuberite-e915a0df4cf78f41a200f0a06aabf069aec1bb07.zip
Diffstat (limited to '')
-rw-r--r--src/BlockEntities/DropSpenserEntity.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/BlockEntities/DropSpenserEntity.cpp b/src/BlockEntities/DropSpenserEntity.cpp
index 7c9a40ce6..81df0fc8c 100644
--- a/src/BlockEntities/DropSpenserEntity.cpp
+++ b/src/BlockEntities/DropSpenserEntity.cpp
@@ -99,13 +99,6 @@ void cDropSpenserEntity::DropSpense(cChunk & a_Chunk)
}
m_World->BroadcastSoundParticleEffect(2000, m_PosX, m_PosY, m_PosZ, SmokeDir);
m_World->BroadcastSoundEffect("random.click", m_PosX * 8, m_PosY * 8, m_PosZ * 8, 1.0f, 1.0f);
-
- // Update the UI window, if open:
- cWindow * Window = GetWindow();
- if (Window != NULL)
- {
- Window->BroadcastWholeWindow();
- }
}