summaryrefslogtreecommitdiffstats
path: root/src/Items
diff options
context:
space:
mode:
Diffstat (limited to 'src/Items')
-rw-r--r--src/Items/ItemMinecart.h3
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;
}