Block placement method changes (will break some mods)
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user