summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Chabowski <kevin@kch42.de>2013-08-16 16:13:37 +0200
committerKevin Chabowski <kevin@kch42.de>2013-08-16 16:13:37 +0200
commitab8184d560ea3b6d0656d200e85397bf2965d39c (patch)
tree183d4e21ebd3f5bac1451f0ff13fd0521b7d0f92
parent2d7bcaa82a5cd2c228f9ff65f9168cff708c5afd (diff)
downloadgomcmap-ab8184d560ea3b6d0656d200e85397bf2965d39c.tar.gz
gomcmap-ab8184d560ea3b6d0656d200e85397bf2965d39c.tar.bz2
gomcmap-ab8184d560ea3b6d0656d200e85397bf2965d39c.zip
Fixed a bug in chunk serialisation.
The bug set all biome infos to BioOcean(= 0) when serialising the chunk.
-rw-r--r--mcmap/prechunk.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/mcmap/prechunk.go b/mcmap/prechunk.go
index ef6ba33..29758c5 100644
--- a/mcmap/prechunk.go
+++ b/mcmap/prechunk.go
@@ -285,7 +285,6 @@ func (c *Chunk) toPreChunk() (*preChunk, error) {
for i, bio := range c.biomes {
if bio != BioUncalculated {
hasBiomes = true
- break
}
biomes[i] = byte(bio)
}