diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-09-12 16:41:23 +0200 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-09-12 16:41:23 +0200 |
commit | d07ef85ee310486c07ce9905ef66c1cb31549617 (patch) | |
tree | c81fd6ff51bf426240de4d07dec1c66463fd718a /src/World.h | |
parent | Disabled mobspawner itemdrop. (diff) | |
download | cuberite-d07ef85ee310486c07ce9905ef66c1cb31549617.tar cuberite-d07ef85ee310486c07ce9905ef66c1cb31549617.tar.gz cuberite-d07ef85ee310486c07ce9905ef66c1cb31549617.tar.bz2 cuberite-d07ef85ee310486c07ce9905ef66c1cb31549617.tar.lz cuberite-d07ef85ee310486c07ce9905ef66c1cb31549617.tar.xz cuberite-d07ef85ee310486c07ce9905ef66c1cb31549617.tar.zst cuberite-d07ef85ee310486c07ce9905ef66c1cb31549617.zip |
Diffstat (limited to '')
-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); |