Add a missing return in Eigencraft redstone (#4621)

This commit is contained in:
Mariell 2020-10-05 18:03:41 +02:00
parent 331d1ed71c
commit eb2557d9ac

View file

@ -995,6 +995,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ private void updateSurroundingRedstone(World worldIn, BlockPosition pos, IBlockData state, BlockPosition source) { + private void updateSurroundingRedstone(World worldIn, BlockPosition pos, IBlockData state, BlockPosition source) {
+ if (worldIn.paperConfig.useEigencraftRedstone) { + if (worldIn.paperConfig.useEigencraftRedstone) {
+ turbo.updateSurroundingRedstone(worldIn, pos, state, source); + turbo.updateSurroundingRedstone(worldIn, pos, state, source);
+ return;
+ } + }
+ a(worldIn, pos, state); + a(worldIn, pos, state);
+ } + }