This commit is contained in:
gnembon committed 2021-10-28 00:04:54 -03:00
1 parent 81f0b8a8da
commit 679c20d78e
7 files changed
+12 -11

No files matched your search

@@ -33,7 +33,7 @@ public class BarrierBlock_updateSuppressionBlockMixin extends Block {
BlockState stateAbove = world.getBlockState(fromPos);
if (stateAbove.isOf(Blocks.ACTIVATOR_RAIL) && !stateAbove.get(PoweredRailBlock.POWERED)) {
if (CarpetSettings.updateSuppressionBlockSetting > 0) {
world.getBlockTickScheduler().schedule(pos, this, CarpetSettings.updateSuppressionBlockSetting);
world.method_39279(pos, this, CarpetSettings.updateSuppressionBlockSetting);// schedule tick
}
throw new StackOverflowError("updateSuppressionBlock");
}