From 08febcf6c491038a07abb526980870c45027a6e6 Mon Sep 17 00:00:00 2001 From: Justin Aquadro Date: Sat, 5 Nov 2011 19:45:11 -0400 Subject: [PATCH] Fixed chunk location bug --- SubstrateCS/Source/Chunk.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/SubstrateCS/Source/Chunk.cs b/SubstrateCS/Source/Chunk.cs index 5516cc8..59a3bbf 100644 --- a/SubstrateCS/Source/Chunk.cs +++ b/SubstrateCS/Source/Chunk.cs @@ -160,6 +160,9 @@ namespace Substrate { _cx = x; _cz = z; + + _tree.Root["Level"].ToTagCompound()["xPos"].ToTagInt().Data = x; + _tree.Root["Level"].ToTagCompound()["zPos"].ToTagInt().Data = z; } ///