From 0e4903910b52638cb7d7f4960f51a642e0892628 Mon Sep 17 00:00:00 2001 From: Anuken Date: Thu, 26 May 2022 11:19:36 -0400 Subject: [PATCH] Block placement method changes (will break some mods) --- core/src/mindustry/world/Block.java | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/core/src/mindustry/world/Block.java b/core/src/mindustry/world/Block.java index e7b777b4fe..fcc95612df 100644 --- a/core/src/mindustry/world/Block.java +++ b/core/src/mindustry/world/Block.java @@ -478,14 +478,10 @@ public class Block extends UnlockableContent implements Senseable{ /** @return whether this block can be placed on the specified tile. */ public boolean canPlaceOn(Tile tile, Team team, int rotation){ - return canPlaceOn(tile, team); - } - - /** Legacy canPlaceOn implementation, override {@link #canPlaceOn(Tile, Team, int)} instead.*/ - public boolean canPlaceOn(Tile tile, Team team){ return true; } - + + /** @return whether this block can be broken on the specified tile. */ public boolean canBreak(Tile tile){ return true; }