From c66ff8779d0f40364a6f1ecdae8f6bafe790823b Mon Sep 17 00:00:00 2001 From: Kevin Chabowski Date: Sat, 17 Aug 2013 14:59:38 +0200 Subject: Filling area with same biome does now work. --- tools.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } -- cgit v1.2.3-70-g09d2