This commit is contained in:
Anuken
2019-12-31 10:29:18 -05:00
parent e7d813ab5b
commit a78c0defc7
2 changed files with 3 additions and 3 deletions

View File

@@ -47,8 +47,8 @@ public class Logic implements ApplicationListener{
//blocks that get broken are appended to the team's broken block queue
Tile tile = event.tile;
Block block = tile.block();
//skip null entities or nukes, for obvious reasons
if(tile.entity == null || tile.block() instanceof NuclearReactor) return;
//skip null entities or nukes, for obvious reasons; also skip client since they can't modify these requests
if(tile.entity == null || tile.block() instanceof NuclearReactor || net.client()) return;
if(block instanceof BuildBlock){