summaryrefslogtreecommitdiffstats
path: root/src/Simulator/IncrementalRedstoneSimulator/PistonHandler.h
diff options
context:
space:
mode:
authorSafwat Halaby <SafwatHalaby@users.noreply.github.com>2015-12-24 16:57:45 +0100
committerSafwat Halaby <SafwatHalaby@users.noreply.github.com>2015-12-24 16:58:34 +0100
commit75fea3cd1eff107d1bc3ee17822d87b2b53c92c9 (patch)
tree47f15f4b099af40674d8c350f3411975525c2124 /src/Simulator/IncrementalRedstoneSimulator/PistonHandler.h
parentMerge pull request #2811 from cuberite/isblockfence (diff)
downloadcuberite-75fea3cd1eff107d1bc3ee17822d87b2b53c92c9.tar
cuberite-75fea3cd1eff107d1bc3ee17822d87b2b53c92c9.tar.gz
cuberite-75fea3cd1eff107d1bc3ee17822d87b2b53c92c9.tar.bz2
cuberite-75fea3cd1eff107d1bc3ee17822d87b2b53c92c9.tar.lz
cuberite-75fea3cd1eff107d1bc3ee17822d87b2b53c92c9.tar.xz
cuberite-75fea3cd1eff107d1bc3ee17822d87b2b53c92c9.tar.zst
cuberite-75fea3cd1eff107d1bc3ee17822d87b2b53c92c9.zip
Diffstat (limited to 'src/Simulator/IncrementalRedstoneSimulator/PistonHandler.h')
-rw-r--r--src/Simulator/IncrementalRedstoneSimulator/PistonHandler.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Simulator/IncrementalRedstoneSimulator/PistonHandler.h b/src/Simulator/IncrementalRedstoneSimulator/PistonHandler.h
index 1992c63a8..1ee68e521 100644
--- a/src/Simulator/IncrementalRedstoneSimulator/PistonHandler.h
+++ b/src/Simulator/IncrementalRedstoneSimulator/PistonHandler.h
@@ -38,7 +38,7 @@ public:
virtual cVector3iArray Update(const Vector3i & a_Position, BLOCKTYPE a_BlockType, NIBBLETYPE a_Meta, PoweringData a_PoweringData) override
{
- LOGD("Evaluating pisty the piston (%d %d %d)", a_Position.x, a_Position.y, a_Position.z);
+ // LOGD("Evaluating pisty the piston (%d %d %d)", a_Position.x, a_Position.y, a_Position.z);
if (a_PoweringData.PowerLevel > 0)
{
@@ -55,7 +55,7 @@ public:
virtual cVector3iArray GetValidSourcePositions(const Vector3i & a_Position, BLOCKTYPE a_BlockType, NIBBLETYPE a_Meta) override
{
UNUSED(a_BlockType);
-
+
auto PositionsOffset = GetRelativeAdjacents();
auto Face = cBlockPistonHandler::MetaDataToDirection(a_Meta);
int OffsetX = 0, OffsetY = 0, OffsetZ = 0;