mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-11-10 20:11:35 +01:00
Removed unnecessary blocksnapshot.restore
This commit is contained in:
parent
f3b6a684f9
commit
d8054775d5
1 changed files with 0 additions and 1 deletions
|
@ -300,7 +300,6 @@ public class BlockzapperItem extends ZapperItem {
|
|||
public static boolean isAllowedToPlace(World world, BlockPos pos,PlayerEntity player){
|
||||
BlockSnapshot blocksnapshot = BlockSnapshot.getBlockSnapshot(world, pos);
|
||||
if (ForgeEventFactory.onBlockPlace(player, blocksnapshot, Direction.UP)) {
|
||||
blocksnapshot.restore(true, false);
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue