diff options
author | Lukas Pioch <lukas@zgow.de> | 2016-06-30 11:06:25 +0200 |
---|---|---|
committer | Lukas Pioch <lukas@zgow.de> | 2016-06-30 11:08:09 +0200 |
commit | 9b96c0d18d1a3e87e62f7905fdbb973832e2404c (patch) | |
tree | 6050394de38470adab89b5f5bd8caaf3b9cb4a36 | |
parent | Merge pull request #3232 from cuberite/LuaCallback (diff) | |
download | cuberite-9b96c0d18d1a3e87e62f7905fdbb973832e2404c.tar cuberite-9b96c0d18d1a3e87e62f7905fdbb973832e2404c.tar.gz cuberite-9b96c0d18d1a3e87e62f7905fdbb973832e2404c.tar.bz2 cuberite-9b96c0d18d1a3e87e62f7905fdbb973832e2404c.tar.lz cuberite-9b96c0d18d1a3e87e62f7905fdbb973832e2404c.tar.xz cuberite-9b96c0d18d1a3e87e62f7905fdbb973832e2404c.tar.zst cuberite-9b96c0d18d1a3e87e62f7905fdbb973832e2404c.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Entities/Minecart.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Entities/Minecart.cpp b/src/Entities/Minecart.cpp index 2b4a26e5c..8eda447cf 100644 --- a/src/Entities/Minecart.cpp +++ b/src/Entities/Minecart.cpp @@ -1206,6 +1206,7 @@ void cMinecartWithChest::OpenNewWindow() void cMinecartWithChest::Destroyed() { + GetWindow()->OwnerDestroyed(); cItems Pickups; m_Contents.CopyToItems(Pickups); GetWorld()->SpawnItemPickups(Pickups, GetPosX(), GetPosY() + 1, GetPosZ(), 4); |