diff options
author | Kevin Chabowski <kevin@kch42.de> | 2013-08-16 16:13:37 +0200 |
---|---|---|
committer | Kevin Chabowski <kevin@kch42.de> | 2013-08-16 16:13:37 +0200 |
commit | ab8184d560ea3b6d0656d200e85397bf2965d39c (patch) | |
tree | 183d4e21ebd3f5bac1451f0ff13fd0521b7d0f92 /mcmap | |
parent | 2d7bcaa82a5cd2c228f9ff65f9168cff708c5afd (diff) | |
download | gomcmap-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.
Diffstat (limited to 'mcmap')
-rw-r--r-- | mcmap/prechunk.go | 1 |
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) } |