diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-06-11 14:49:57 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-06-11 14:49:57 +0200 |
commit | e24830f0b12597896d895855298e8dde5f448b5b (patch) | |
tree | 07190ec48741207c80132f1ad0c8052ef66cb3b8 /src/World.h | |
parent | Reduced code duplication (diff) | |
download | cuberite-e24830f0b12597896d895855298e8dde5f448b5b.tar cuberite-e24830f0b12597896d895855298e8dde5f448b5b.tar.gz cuberite-e24830f0b12597896d895855298e8dde5f448b5b.tar.bz2 cuberite-e24830f0b12597896d895855298e8dde5f448b5b.tar.lz cuberite-e24830f0b12597896d895855298e8dde5f448b5b.tar.xz cuberite-e24830f0b12597896d895855298e8dde5f448b5b.tar.zst cuberite-e24830f0b12597896d895855298e8dde5f448b5b.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 7469c1054..45b42b280 100644 --- a/src/World.h +++ b/src/World.h @@ -597,7 +597,7 @@ public: void GrowSugarcane(int a_BlockX, int a_BlockY, int a_BlockZ, int a_NumBlocksToGrow); /** Returns the biome at the specified coords. Reads the biome from the chunk, if loaded, otherwise uses the world generator to provide the biome value */ - EMCSBiome GetBiomeAt(int a_BlockX, int a_BlockZ); + EMCSBiome GetBiomeAt(int a_BlockX, int a_BlockZ) const; /** Sets the biome at the specified coords. Returns true if successful, false if not (chunk not loaded). Doesn't resend the chunk to clients, use ForceSendChunkTo() for that. */ |