diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-03-30 14:07:28 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-03-30 14:07:28 +0200 |
commit | a87bd5788f7e3e489282b3f69e0bb0ba1ddbafd8 (patch) | |
tree | 09b14e0ced11bf0c086b1ef79b3323bbd41a2013 /src/Items | |
parent | Compare for inequality in FACE_NONE checks (diff) | |
download | cuberite-a87bd5788f7e3e489282b3f69e0bb0ba1ddbafd8.tar cuberite-a87bd5788f7e3e489282b3f69e0bb0ba1ddbafd8.tar.gz cuberite-a87bd5788f7e3e489282b3f69e0bb0ba1ddbafd8.tar.bz2 cuberite-a87bd5788f7e3e489282b3f69e0bb0ba1ddbafd8.tar.lz cuberite-a87bd5788f7e3e489282b3f69e0bb0ba1ddbafd8.tar.xz cuberite-a87bd5788f7e3e489282b3f69e0bb0ba1ddbafd8.tar.zst cuberite-a87bd5788f7e3e489282b3f69e0bb0ba1ddbafd8.zip |
Diffstat (limited to 'src/Items')
-rw-r--r-- | src/Items/ItemMinecart.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Items/ItemMinecart.h b/src/Items/ItemMinecart.h index bf6f70eed..25500aeb9 100644 --- a/src/Items/ItemMinecart.h +++ b/src/Items/ItemMinecart.h @@ -1,4 +1,3 @@ - // ItemMinecart.h // Declares the various minecart ItemHandlers @@ -74,7 +73,9 @@ public: Minecart->Initialize(a_World); if (!a_Player->IsGameModeCreative()) + { a_Player->GetInventory().RemoveOneEquippedItem(); + } return true; } |