summaryrefslogtreecommitdiffstats
path: root/src/Simulator/IncrementalRedstoneSimulator/PistonHandler.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/PistonHandler.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/PistonHandler.h')
-rw-r--r--src/Simulator/IncrementalRedstoneSimulator/PistonHandler.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Simulator/IncrementalRedstoneSimulator/PistonHandler.h b/src/Simulator/IncrementalRedstoneSimulator/PistonHandler.h
index f0cdda3f8..851b32498 100644
--- a/src/Simulator/IncrementalRedstoneSimulator/PistonHandler.h
+++ b/src/Simulator/IncrementalRedstoneSimulator/PistonHandler.h
@@ -60,5 +60,8 @@ namespace PistonHandler
Callback(a_Position + Offset);
}
}
+
+ // Consider indirect power:
+ Callback.CheckIndirectPower();
}
};