diff options
author | Kevin Chabowski <kevin@kch42.de> | 2013-08-17 14:59:38 +0200 |
---|---|---|
committer | Kevin Chabowski <kevin@kch42.de> | 2013-08-17 14:59:38 +0200 |
commit | c66ff8779d0f40364a6f1ecdae8f6bafe790823b (patch) | |
tree | 7999e330c744b5f806405914a998d3d1e8dcab01 | |
parent | a12232f527666695c57a6014401c1a34c2fb6611 (diff) | |
download | biomed-c66ff8779d0f40364a6f1ecdae8f6bafe790823b.tar.gz biomed-c66ff8779d0f40364a6f1ecdae8f6bafe790823b.tar.bz2 biomed-c66ff8779d0f40364a6f1ecdae8f6bafe790823b.zip |
Filling area with same biome does now work.
-rw-r--r-- | tools.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -54,7 +54,7 @@ func chkBounds(x, z, xStart, zStart, xEnd, zEnd int) bool { func (f *fillTool) Do(bio mcmap.Biome, biogs BiomeGetSetter, x, z int) { oldbio, ok := biogs.GetBiomeAt(x, z) - if !ok { + if (!ok) || (oldbio == bio) { return } |