Update Tile.java
This commit is contained in:
@@ -93,6 +93,10 @@ public class Tile implements Position, TargetTrait{
|
||||
Call.onTileConfig(player, this, value);
|
||||
}
|
||||
|
||||
public void configureAny(int value){
|
||||
Call.onTileConfig(null, this, value);
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public <T extends TileEntity> T entity(){
|
||||
return (T)entity;
|
||||
@@ -446,4 +450,4 @@ public class Tile implements Position, TargetTrait{
|
||||
public String toString(){
|
||||
return floor.name + ":" + block.name + ":" + overlay + "[" + x + "," + y + "] " + "entity=" + (entity == null ? "null" : (entity.getClass())) + ":" + getTeam();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user