summaryrefslogtreecommitdiffstats
path: root/src/Simulator/IncrementalRedstoneSimulator.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-02-12 00:13:49 +0100
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-02-12 00:13:49 +0100
commita0a44b969ece88d32bcc89fea51b25d819424a06 (patch)
treec07d732573042c61c1482986284aaf448bbf8866 /src/Simulator/IncrementalRedstoneSimulator.cpp
parentFixed #190 (diff)
downloadcuberite-a0a44b969ece88d32bcc89fea51b25d819424a06.tar
cuberite-a0a44b969ece88d32bcc89fea51b25d819424a06.tar.gz
cuberite-a0a44b969ece88d32bcc89fea51b25d819424a06.tar.bz2
cuberite-a0a44b969ece88d32bcc89fea51b25d819424a06.tar.lz
cuberite-a0a44b969ece88d32bcc89fea51b25d819424a06.tar.xz
cuberite-a0a44b969ece88d32bcc89fea51b25d819424a06.tar.zst
cuberite-a0a44b969ece88d32bcc89fea51b25d819424a06.zip
Diffstat (limited to 'src/Simulator/IncrementalRedstoneSimulator.cpp')
-rw-r--r--src/Simulator/IncrementalRedstoneSimulator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Simulator/IncrementalRedstoneSimulator.cpp b/src/Simulator/IncrementalRedstoneSimulator.cpp
index 5dba69455..a875c9e4d 100644
--- a/src/Simulator/IncrementalRedstoneSimulator.cpp
+++ b/src/Simulator/IncrementalRedstoneSimulator.cpp
@@ -960,7 +960,7 @@ void cIncrementalRedstoneSimulator::HandlePressurePlate(int a_BlockX, int a_Bloc
Vector3f BlockPos(m_X + 0.5f, (float)m_Y, m_Z + 0.5f);
float Distance = (EntityPos - BlockPos).Length();
- if (Distance < 0.5)
+ if (Distance <= 0.7)
{
m_Entity = a_Entity;
return true; // Break out, we only need to know for wooden plates that at least one entity is on top