summaryrefslogtreecommitdiffstats
path: root/src/Items
diff options
context:
space:
mode:
authorSTRWarrior <niels.breuker@hotmail.nl>2014-01-12 15:27:50 +0100
committerSTRWarrior <niels.breuker@hotmail.nl>2014-01-12 15:27:50 +0100
commitc5603ce064d7e4e897aa92d6f43d407802ae3687 (patch)
tree8a50533bd8e07807587100e3a1016d07f3335406 /src/Items
parentAdded cWorld::SpawnMinecart. (diff)
downloadcuberite-c5603ce064d7e4e897aa92d6f43d407802ae3687.tar
cuberite-c5603ce064d7e4e897aa92d6f43d407802ae3687.tar.gz
cuberite-c5603ce064d7e4e897aa92d6f43d407802ae3687.tar.bz2
cuberite-c5603ce064d7e4e897aa92d6f43d407802ae3687.tar.lz
cuberite-c5603ce064d7e4e897aa92d6f43d407802ae3687.tar.xz
cuberite-c5603ce064d7e4e897aa92d6f43d407802ae3687.tar.zst
cuberite-c5603ce064d7e4e897aa92d6f43d407802ae3687.zip
Diffstat (limited to 'src/Items')
-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 f8eb31a49..b82779026 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); break;
+ case E_ITEM_MINECART: Minecart = new cEmptyMinecart (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;