summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Chabowski <kevin@kch42.de>2013-08-17 14:59:38 +0200
committerKevin Chabowski <kevin@kch42.de>2013-08-17 14:59:38 +0200
commitc66ff8779d0f40364a6f1ecdae8f6bafe790823b (patch)
tree7999e330c744b5f806405914a998d3d1e8dcab01
parenta12232f527666695c57a6014401c1a34c2fb6611 (diff)
downloadbiomed-c66ff8779d0f40364a6f1ecdae8f6bafe790823b.tar.gz
biomed-c66ff8779d0f40364a6f1ecdae8f6bafe790823b.tar.bz2
biomed-c66ff8779d0f40364a6f1ecdae8f6bafe790823b.zip
Filling area with same biome does now work.
-rw-r--r--tools.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools.go b/tools.go
index e4fd34a..a24d696 100644
--- a/tools.go
+++ b/tools.go
@@ -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
}