summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-06-17 00:22:57 +0200
committerHowaner <franzi.moos@googlemail.com>2014-06-17 00:22:57 +0200
commita10b716ba2c0c50cd15bff7a1981e6b8c5e896bd (patch)
tree45c4270fa3e77788b72da75d1730c241c20fda82 /src
parentFixed GCC compilation. (diff)
downloadcuberite-a10b716ba2c0c50cd15bff7a1981e6b8c5e896bd.tar
cuberite-a10b716ba2c0c50cd15bff7a1981e6b8c5e896bd.tar.gz
cuberite-a10b716ba2c0c50cd15bff7a1981e6b8c5e896bd.tar.bz2
cuberite-a10b716ba2c0c50cd15bff7a1981e6b8c5e896bd.tar.lz
cuberite-a10b716ba2c0c50cd15bff7a1981e6b8c5e896bd.tar.xz
cuberite-a10b716ba2c0c50cd15bff7a1981e6b8c5e896bd.tar.zst
cuberite-a10b716ba2c0c50cd15bff7a1981e6b8c5e896bd.zip
Diffstat (limited to 'src')
-rw-r--r--src/Simulator/IncrementalRedstoneSimulator.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Simulator/IncrementalRedstoneSimulator.cpp b/src/Simulator/IncrementalRedstoneSimulator.cpp
index 69c8b9f56..b8da978f2 100644
--- a/src/Simulator/IncrementalRedstoneSimulator.cpp
+++ b/src/Simulator/IncrementalRedstoneSimulator.cpp
@@ -546,8 +546,7 @@ void cIncrementalRedstoneSimulator::HandleFenceGate(int a_RelBlockX, int a_RelBl
{
int BlockX = (m_Chunk->GetPosX() * cChunkDef::Width) + a_RelBlockX;
int BlockZ = (m_Chunk->GetPosZ() * cChunkDef::Width) + a_RelBlockZ;
- cChunkInterface ChunkInterface(m_World.GetChunkMap());
- NIBBLETYPE MetaData = ChunkInterface.GetBlockMeta(a_RelBlockX, a_RelBlockY, a_RelBlockZ);
+ NIBBLETYPE MetaData = m_Chunk->GetMeta(a_RelBlockX, a_RelBlockY, a_RelBlockZ);
if (AreCoordsPowered(a_RelBlockX, a_RelBlockY, a_RelBlockZ))
{