diff options
author | Mattes D <github@xoft.cz> | 2014-09-12 20:43:05 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-09-12 20:43:05 +0200 |
commit | db13405da236b5ba42d36135bf905a30341a425c (patch) | |
tree | 42e2cad05899d63f2471578b20313583ca570a70 /src/World.h | |
parent | Fixed iron ore drop. (diff) | |
parent | Only drop flint or gravel, not both. (diff) | |
download | cuberite-db13405da236b5ba42d36135bf905a30341a425c.tar cuberite-db13405da236b5ba42d36135bf905a30341a425c.tar.gz cuberite-db13405da236b5ba42d36135bf905a30341a425c.tar.bz2 cuberite-db13405da236b5ba42d36135bf905a30341a425c.tar.lz cuberite-db13405da236b5ba42d36135bf905a30341a425c.tar.xz cuberite-db13405da236b5ba42d36135bf905a30341a425c.tar.zst cuberite-db13405da236b5ba42d36135bf905a30341a425c.zip |
Diffstat (limited to 'src/World.h')
-rw-r--r-- | src/World.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/World.h b/src/World.h index 274bd2dcf..0c57e6611 100644 --- a/src/World.h +++ b/src/World.h @@ -469,7 +469,7 @@ public: int SpawnMinecart(double a_X, double a_Y, double a_Z, int a_MinecartType, const 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); + virtual int SpawnExperienceOrb(double a_X, double a_Y, double a_Z, int a_Reward) override; /** Spawns a new primed TNT entity at the specified block coords and specified fuse duration. Initial velocity is given based on the relative coefficient provided */ void SpawnPrimedTNT(double a_X, double a_Y, double a_Z, int a_FuseTimeInSec = 80, double a_InitialVelocityCoeff = 1); |