diff options
author | Tiger Wang <ziwei.tiger@outlook.com> | 2020-09-21 21:39:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-21 21:39:58 +0200 |
commit | 6183b28f93f7315b7afb1f17ab46a684002e173f (patch) | |
tree | 6d1d0b858b05868c7153206cb60a6d7c6c98f960 /src/Simulator/IncrementalRedstoneSimulator/DropSpenserHandler.h | |
parent | Implement Dropspenser Hook (#4903) (diff) | |
download | cuberite-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/DropSpenserHandler.h')
-rw-r--r-- | src/Simulator/IncrementalRedstoneSimulator/DropSpenserHandler.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Simulator/IncrementalRedstoneSimulator/DropSpenserHandler.h b/src/Simulator/IncrementalRedstoneSimulator/DropSpenserHandler.h index 2d0eb959d..fb0671fdc 100644 --- a/src/Simulator/IncrementalRedstoneSimulator/DropSpenserHandler.h +++ b/src/Simulator/IncrementalRedstoneSimulator/DropSpenserHandler.h @@ -65,6 +65,11 @@ namespace DropSpenserHandler UNUSED(a_Chunk); UNUSED(a_BlockType); UNUSED(a_Meta); + + // Consider indirect power: + Callback.CheckIndirectPower(); + + // Consider normal adjacents: InvokeForAdjustedRelatives(Callback, a_Position, RelativeAdjacents); } }; |