Fix deserialization of chunks.

This commit is contained in:
Nicholas Bering 2015-05-03 23:36:49 -04:00
parent 1e5f688a55
commit 8fad0918f7

View File

@ -266,8 +266,8 @@ namespace TrueCraft.Core.World
HeightMap = chunk.HeightMap;
LastUpdate = chunk.LastUpdate;
TerrainPopulated = chunk.TerrainPopulated;
X = tag["xPos"].IntValue;
Z = tag["zPos"].IntValue;
X = tag["X"].IntValue;
Z = tag["Z"].IntValue;
Blocks = tag["Blocks"].ByteArrayValue;
Metadata = new NibbleArray();
Metadata.Data = tag["Data"].ByteArrayValue;