summaryrefslogtreecommitdiffstats
path: root/src/Simulator/IncrementalRedstoneSimulator/RedstoneWireHandler.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2020-09-21 21:39:58 +0200
committerGitHub <noreply@github.com>2020-09-21 21:39:58 +0200
commit6183b28f93f7315b7afb1f17ab46a684002e173f (patch)
tree6d1d0b858b05868c7153206cb60a6d7c6c98f960 /src/Simulator/IncrementalRedstoneSimulator/RedstoneWireHandler.h
parentImplement Dropspenser Hook (#4903) (diff)
downloadcuberite-6183b28f93f7315b7afb1f17ab46a684002e173f.tar
cuberite-6183b28f93f7315b7afb1f17ab46a684002e173f.tar.gz
cuberite-6183b28f93f7315b7afb1f17ab46a684002e173f.tar.bz2
cuberite-6183b28f93f7315b7afb1f17ab46a684002e173f.tar.lz
cuberite-6183b28f93f7315b7afb1f17ab46a684002e173f.tar.xz
cuberite-6183b28f93f7315b7afb1f17ab46a684002e173f.tar.zst
cuberite-6183b28f93f7315b7afb1f17ab46a684002e173f.zip
Diffstat (limited to 'src/Simulator/IncrementalRedstoneSimulator/RedstoneWireHandler.h')
-rw-r--r--src/Simulator/IncrementalRedstoneSimulator/RedstoneWireHandler.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/Simulator/IncrementalRedstoneSimulator/RedstoneWireHandler.h b/src/Simulator/IncrementalRedstoneSimulator/RedstoneWireHandler.h
index 2e04b4b75..0bf3d58f3 100644
--- a/src/Simulator/IncrementalRedstoneSimulator/RedstoneWireHandler.h
+++ b/src/Simulator/IncrementalRedstoneSimulator/RedstoneWireHandler.h
@@ -88,11 +88,14 @@ namespace RedstoneWireHandler
return a_Offset.z != 0;
}
case E_BLOCK_ACTIVE_COMPARATOR:
- case E_BLOCK_INACTIVE_COMPARATOR:
case E_BLOCK_BLOCK_OF_REDSTONE:
+ case E_BLOCK_INACTIVE_COMPARATOR:
+ case E_BLOCK_LEVER:
case E_BLOCK_REDSTONE_TORCH_OFF:
case E_BLOCK_REDSTONE_TORCH_ON:
- case E_BLOCK_REDSTONE_WIRE: return true;
+ case E_BLOCK_REDSTONE_WIRE:
+ case E_BLOCK_STONE_BUTTON:
+ case E_BLOCK_WOODEN_BUTTON: return true;
default: return false;
}
}