summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-06-11 14:49:57 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-06-11 14:49:57 +0200
commite24830f0b12597896d895855298e8dde5f448b5b (patch)
tree07190ec48741207c80132f1ad0c8052ef66cb3b8
parentReduced code duplication (diff)
downloadcuberite-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.h2
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. */