summaryrefslogtreecommitdiffstats
path: root/source/World.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-12-21 11:59:59 +0100
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-12-21 11:59:59 +0100
commitee34d805bebe7826fb6cae9a350c625974c4bd74 (patch)
tree12c2c068f32c5116c3d116936119b5e1e286db8b /source/World.h
parentFixed a crash in redstone simulator when destroying blocks in Y < 2 (diff)
downloadcuberite-ee34d805bebe7826fb6cae9a350c625974c4bd74.tar
cuberite-ee34d805bebe7826fb6cae9a350c625974c4bd74.tar.gz
cuberite-ee34d805bebe7826fb6cae9a350c625974c4bd74.tar.bz2
cuberite-ee34d805bebe7826fb6cae9a350c625974c4bd74.tar.lz
cuberite-ee34d805bebe7826fb6cae9a350c625974c4bd74.tar.xz
cuberite-ee34d805bebe7826fb6cae9a350c625974c4bd74.tar.zst
cuberite-ee34d805bebe7826fb6cae9a350c625974c4bd74.zip
Diffstat (limited to 'source/World.h')
-rw-r--r--source/World.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/source/World.h b/source/World.h
index 530370ce5..9609d8b3f 100644
--- a/source/World.h
+++ b/source/World.h
@@ -301,12 +301,14 @@ public:
/// Retrieves block types of the specified blocks. If a chunk is not loaded, doesn't modify the block. Returns true if all blocks were read.
bool GetBlocks(sSetBlockVector & a_Blocks, bool a_ContinueOnFailure);
- bool DigBlock (int a_X, int a_Y, int a_Z); //tolua_export
- void SendBlockTo(int a_X, int a_Y, int a_Z, cPlayer * a_Player ); //tolua_export
+ // tolua_begin
+ bool DigBlock (int a_X, int a_Y, int a_Z);
+ void SendBlockTo(int a_X, int a_Y, int a_Z, cPlayer * a_Player );
- const double & GetSpawnX(void) const { return m_SpawnX; } // tolua_export
- const double & GetSpawnY(void) const { return m_SpawnY; } // tolua_export
- const double & GetSpawnZ(void) const { return m_SpawnZ; } // tolua_export
+ double GetSpawnX(void) const { return m_SpawnX; }
+ double GetSpawnY(void) const { return m_SpawnY; }
+ double GetSpawnZ(void) const { return m_SpawnZ; }
+ // tolua_end
inline cSimulatorManager * GetSimulatorManager(void) { return m_SimulatorManager; }