diff options
author | Lukas Pioch <lukas@zgow.de> | 2017-05-09 14:21:25 +0200 |
---|---|---|
committer | Lukas Pioch <lukas@zgow.de> | 2017-05-24 19:02:18 +0200 |
commit | 73a3c4e3be1916bdd4830e7ce7454035a1f572f6 (patch) | |
tree | 95716ef6c87706de98866b0fa13f862dd07855ff /src/World.h | |
parent | Off-hand/shield slot functional, save and load slot, bow + arrow functional (#3725) (diff) | |
download | cuberite-73a3c4e3be1916bdd4830e7ce7454035a1f572f6.tar cuberite-73a3c4e3be1916bdd4830e7ce7454035a1f572f6.tar.gz cuberite-73a3c4e3be1916bdd4830e7ce7454035a1f572f6.tar.bz2 cuberite-73a3c4e3be1916bdd4830e7ce7454035a1f572f6.tar.lz cuberite-73a3c4e3be1916bdd4830e7ce7454035a1f572f6.tar.xz cuberite-73a3c4e3be1916bdd4830e7ce7454035a1f572f6.tar.zst cuberite-73a3c4e3be1916bdd4830e7ce7454035a1f572f6.zip |
Diffstat (limited to '')
-rw-r--r-- | src/World.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/World.h b/src/World.h index 6ad476b94..00467e2fa 100644 --- a/src/World.h +++ b/src/World.h @@ -22,6 +22,7 @@ #include "Item.h" #include "Mobs/Monster.h" #include "Entities/ProjectileEntity.h" +#include "Entities/Boat.h" #include "ForEachChunkProvider.h" #include "Scoreboard.h" #include "MapManager.h" @@ -453,7 +454,7 @@ public: /** Spawns a boat at the given coordinates. Returns the UniqueID of the spawned boat, or cEntity::INVALID_ID on failure. */ - UInt32 SpawnBoat(double a_X, double a_Y, double a_Z); + UInt32 SpawnBoat(double a_X, double a_Y, double a_Z, cBoat::eMaterial a_Material); /** Spawns an experience orb at the given location with the given reward. Returns the UniqueID of the spawned experience orb, or cEntity::INVALID_ID on failure. */ |