diff options
author | LO1ZB <andreasdaamen@web.de> | 2014-08-28 11:36:35 +0200 |
---|---|---|
committer | LO1ZB <andreasdaamen@web.de> | 2014-08-28 11:36:35 +0200 |
commit | 3c1c073714e2b0542c9a79db962b6fc9e6ddd352 (patch) | |
tree | cf8c191b1642914745944fa376ba1f2f56a95ea6 /src/World.h | |
parent | DungeonRooms: Fixed an off-by-one error. (diff) | |
download | cuberite-3c1c073714e2b0542c9a79db962b6fc9e6ddd352.tar cuberite-3c1c073714e2b0542c9a79db962b6fc9e6ddd352.tar.gz cuberite-3c1c073714e2b0542c9a79db962b6fc9e6ddd352.tar.bz2 cuberite-3c1c073714e2b0542c9a79db962b6fc9e6ddd352.tar.lz cuberite-3c1c073714e2b0542c9a79db962b6fc9e6ddd352.tar.xz cuberite-3c1c073714e2b0542c9a79db962b6fc9e6ddd352.tar.zst cuberite-3c1c073714e2b0542c9a79db962b6fc9e6ddd352.zip |
Diffstat (limited to 'src/World.h')
-rw-r--r-- | src/World.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/World.h b/src/World.h index 578c9682b..50b157312 100644 --- a/src/World.h +++ b/src/World.h @@ -351,16 +351,16 @@ public: void RemoveClientFromChunkSender(cClientHandle * a_Client); /** Touches the chunk, causing it to be loaded or generated */ - void TouchChunk(int a_ChunkX, int a_ChunkY, int a_ChunkZ); + void TouchChunk(int a_ChunkX, int a_ChunkZ); /** Loads the chunk, if not already loaded. Doesn't generate. Returns true if chunk valid (even if already loaded before) */ - bool LoadChunk(int a_ChunkX, int a_ChunkY, int a_ChunkZ); + bool LoadChunk(int a_ChunkX, int a_ChunkZ); /** Loads the chunks specified. Doesn't report failure, other than chunks being !IsValid() */ void LoadChunks(const cChunkCoordsList & a_Chunks); /** Marks the chunk as failed-to-load: */ - void ChunkLoadFailed(int a_ChunkX, int a_ChunkY, int a_ChunkZ); + void ChunkLoadFailed(int a_ChunkX, int a_ChunkZ); /** Sets the sign text, asking plugins for permission first. a_Player is the player who this change belongs to, may be NULL. Returns true if sign text changed. Same as UpdateSign() */ bool SetSignLines(int a_BlockX, int a_BlockY, int a_BlockZ, const AString & a_Line1, const AString & a_Line2, const AString & a_Line3, const AString & a_Line4, cPlayer * a_Player = NULL); // Exported in ManualBindings.cpp |