mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-03-06 07:30:35 +07:00
Block placement method changes (will break some mods)
This commit is contained in:
parent
e2bd6571b1
commit
0e4903910b
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user