Block placement method changes (will break some mods)

This commit is contained in:
Anuken
2022-05-26 11:19:36 -04:00
parent e2bd6571b1
commit 0e4903910b
+1 -5
View File
@@ -478,14 +478,10 @@ public class Block extends UnlockableContent implements Senseable{
/** @return whether this block can be placed on the specified tile. */ /** @return whether this block can be placed on the specified tile. */
public boolean canPlaceOn(Tile tile, Team team, int rotation){ 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 true;
} }
/** @return whether this block can be broken on the specified tile. */
public boolean canBreak(Tile tile){ public boolean canBreak(Tile tile){
return true; return true;
} }