diff options
author | Kevin Chabowski <kevin@kch42.de> | 2013-08-12 14:59:37 +0200 |
---|---|---|
committer | Kevin Chabowski <kevin@kch42.de> | 2013-08-12 14:59:37 +0200 |
commit | 230c827d579d868327f7b0ef31284e1154c80f06 (patch) | |
tree | 5a116ac75e15469989330bb3e33be09d9520b5a2 /mcmap/prechunk.go | |
parent | 40b8da6d026d43328242b252aea3a09f8939e756 (diff) | |
download | gomcmap-230c827d579d868327f7b0ef31284e1154c80f06.tar.gz gomcmap-230c827d579d868327f7b0ef31284e1154c80f06.tar.bz2 gomcmap-230c827d579d868327f7b0ef31284e1154c80f06.zip |
Chunks are now marked at unused in a function of Chunk.
Diffstat (limited to 'mcmap/prechunk.go')
-rw-r--r-- | mcmap/prechunk.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mcmap/prechunk.go b/mcmap/prechunk.go index 89febe7..ae0ea2a 100644 --- a/mcmap/prechunk.go +++ b/mcmap/prechunk.go @@ -83,8 +83,8 @@ func (pc *preChunk) getLevelTag() (nbt.TagCompound, error) { return lvl, nil } -func (pc *preChunk) toChunk() (*Chunk, error) { - c := Chunk{ts: pc.ts} +func (pc *preChunk) toChunk(reg *Region) (*Chunk, error) { + c := Chunk{ts: pc.ts, reg: reg} lvl, err := pc.getLevelTag() if err != nil { |