diff --git a/core/src/io/anuke/mindustry/core/World.java b/core/src/io/anuke/mindustry/core/World.java index 4e2806e62d..6491a639e4 100644 --- a/core/src/io/anuke/mindustry/core/World.java +++ b/core/src/io/anuke/mindustry/core/World.java @@ -272,6 +272,7 @@ public class World{ } public void removeBlock(Tile tile){ + if(tile == null) return; tile.link().getLinkedTiles(other -> other.setBlock(Blocks.air)); } diff --git a/gradle.properties b/gradle.properties index 9806da2c03..da597cbed2 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,3 +1,3 @@ org.gradle.daemon=true org.gradle.jvmargs=-Xms256m -Xmx1024m -archash=9e37a345d59b09e8677adbec29cb3981d26fe86b +archash=80e74b71aefc288d02c0098ccd57de810107367c