This commit is contained in:
gnembon committed 2021-11-04 00:34:40 +01:00
1 parent 26a6d9713d
commit 1642976d0d
10 files changed
+17 -16

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.method_39279(pos, this, CarpetSettings.updateSuppressionBlockSetting);// schedule tick
world.createAndScheduleBlockTick(pos, this, CarpetSettings.updateSuppressionBlockSetting);
}
throw new StackOverflowError("updateSuppressionBlock");
}