diff options
author | Tiger Wang <ziwei.tiger@outlook.com> | 2022-01-14 19:21:10 +0100 |
---|---|---|
committer | Alexander Harkness <me@bearbin.net> | 2022-01-14 20:43:29 +0100 |
commit | da0fdbe113e9b3a5254822a20a8ca2595cd661cb (patch) | |
tree | b12753160572310ac7a6878319cca5afe728e2d6 /src/Simulator | |
parent | eblockface (diff) | |
download | cuberite-da0fdbe113e9b3a5254822a20a8ca2595cd661cb.tar cuberite-da0fdbe113e9b3a5254822a20a8ca2595cd661cb.tar.gz cuberite-da0fdbe113e9b3a5254822a20a8ca2595cd661cb.tar.bz2 cuberite-da0fdbe113e9b3a5254822a20a8ca2595cd661cb.tar.lz cuberite-da0fdbe113e9b3a5254822a20a8ca2595cd661cb.tar.xz cuberite-da0fdbe113e9b3a5254822a20a8ca2595cd661cb.tar.zst cuberite-da0fdbe113e9b3a5254822a20a8ca2595cd661cb.zip |
Diffstat (limited to 'src/Simulator')
-rw-r--r-- | src/Simulator/IncrementalRedstoneSimulator/RedstoneRepeaterHandler.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Simulator/IncrementalRedstoneSimulator/RedstoneRepeaterHandler.h b/src/Simulator/IncrementalRedstoneSimulator/RedstoneRepeaterHandler.h index 9e4b8ead1..8f5e8c1b7 100644 --- a/src/Simulator/IncrementalRedstoneSimulator/RedstoneRepeaterHandler.h +++ b/src/Simulator/IncrementalRedstoneSimulator/RedstoneRepeaterHandler.h @@ -23,7 +23,7 @@ namespace RedstoneRepeaterHandler if (!Chunk.UnboundedRelGetBlock(a_Position, Type, Meta)) { - return std::make_pair(false, NIBBLETYPE(0)); + return std::make_pair(false, static_cast<NIBBLETYPE>(0)); } return std::make_pair(IsOn(Type), Meta); |