mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-19 03:39:17 +00:00
Remove useless passing of 1|2 to setblockstate
This commit is contained in:
1 parent
d68f34fcfe
commit
ef79dc7507
14 files changed
+19
-19
No files matched your search
@@ -81,7 +81,7 @@ public class BlockLightRelay extends BlockMod implements IWandable {
|
||||
|
||||
@Override
|
||||
public void scheduledTick(BlockState state, ServerWorld world, BlockPos pos, Random rand) {
|
||||
world.setBlockState(pos, state.with(BotaniaStateProps.POWERED, false), 1 | 2);
|
||||
world.setBlockState(pos, state.with(BotaniaStateProps.POWERED, false));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user