summaryrefslogtreecommitdiffstats
path: root/src/World.h
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/World.h
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 '')
-rw-r--r--src/World.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/World.h b/src/World.h
index 89a236b62..23b125e67 100644
--- a/src/World.h
+++ b/src/World.h
@@ -364,7 +364,7 @@ public:
int SpawnFallingBlock(int a_X, int a_Y, int a_Z, BLOCKTYPE BlockType, NIBBLETYPE BlockMeta);
/// Spawns an minecart at the given coordinates.
- int SpawnMinecart(double a_X, double a_Y, double a_Z, int a_MinecartType);
+ int SpawnMinecart(double a_X, double a_Y, double a_Z, int a_MinecartType, cItem a_Content = cItem(), int a_BlockHeight = 1);
/// Spawns an experience orb at the given location with the given reward. It returns the UniqueID of the spawned experience orb.
int SpawnExperienceOrb(double a_X, double a_Y, double a_Z, int a_Reward);