diff options
Diffstat (limited to 'src')
-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); |