From 1b7858d3e3fb4fd4f1cae96f33ccf183f12da4c1 Mon Sep 17 00:00:00 2001 From: Justin Aquadro Date: Sat, 24 Mar 2012 12:41:10 -0400 Subject: [PATCH] Fixed bug in building AnvilSection tree --- SubstrateCS/Source/AnvilChunk.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/SubstrateCS/Source/AnvilChunk.cs b/SubstrateCS/Source/AnvilChunk.cs index b54ee29..fbdd62f 100644 --- a/SubstrateCS/Source/AnvilChunk.cs +++ b/SubstrateCS/Source/AnvilChunk.cs @@ -133,6 +133,8 @@ namespace Substrate ctree["AddBlocks"] = new TagNodeByteArray(new byte[2048]); _addBlocks = new YZXNibbleArray(XDIM, YDIM, ZDIM, ctree["AddBlocks"] as TagNodeByteArray); + _tree = ctree; + return this; }