mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-28 07:55:45 +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
@@ -211,7 +211,7 @@ public class ItemExchangeRod extends Item implements IManaUsingItem, IWireframeC
|
||||
if(!player.abilities.isCreativeMode) {
|
||||
removeFromInventory(player, stack, state.getBlock(), true);
|
||||
}
|
||||
world.setBlockState(pos, state, 1 | 2);
|
||||
world.setBlockState(pos, state);
|
||||
state.getBlock().onBlockPlacedBy(world, pos, state, player, placeStack);
|
||||
}
|
||||
displayRemainderCounter(player, stack);
|
||||
|
||||
Reference in new issue
Block a user