summaryrefslogtreecommitdiffstats
path: root/src/Items/ItemMinecart.h
diff options
context:
space:
mode:
authorSTRWarrior <niels.breuker@hotmail.nl>2014-01-12 18:04:41 +0100
committerSTRWarrior <niels.breuker@hotmail.nl>2014-01-12 18:04:41 +0100
commitf11427e8cd5506204958eec68a8ac2a9152df108 (patch)
treecce60b10962d911daf4b70e96c21701b975b1eb8 /src/Items/ItemMinecart.h
parentEmptyMinecarts should be able to get a block inside of them. (diff)
downloadcuberite-f11427e8cd5506204958eec68a8ac2a9152df108.tar
cuberite-f11427e8cd5506204958eec68a8ac2a9152df108.tar.gz
cuberite-f11427e8cd5506204958eec68a8ac2a9152df108.tar.bz2
cuberite-f11427e8cd5506204958eec68a8ac2a9152df108.tar.lz
cuberite-f11427e8cd5506204958eec68a8ac2a9152df108.tar.xz
cuberite-f11427e8cd5506204958eec68a8ac2a9152df108.tar.zst
cuberite-f11427e8cd5506204958eec68a8ac2a9152df108.zip
Diffstat (limited to '')
-rw-r--r--src/Items/ItemMinecart.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Items/ItemMinecart.h b/src/Items/ItemMinecart.h
index b82779026..4071f8c60 100644
--- a/src/Items/ItemMinecart.h
+++ b/src/Items/ItemMinecart.h
@@ -60,7 +60,7 @@ public:
cMinecart * Minecart = NULL;
switch (m_ItemType)
{
- case E_ITEM_MINECART: Minecart = new cEmptyMinecart (x, y, z, cItem(), 1); break;
+ case E_ITEM_MINECART: Minecart = new cRideableMinecart (x, y, z, cItem(), 1); break;
case E_ITEM_CHEST_MINECART: Minecart = new cMinecartWithChest (x, y, z); break;
case E_ITEM_FURNACE_MINECART: Minecart = new cMinecartWithFurnace (x, y, z); break;
case E_ITEM_MINECART_WITH_TNT: Minecart = new cMinecartWithTNT (x, y, z); break;