Update Tile.java
This commit is contained in:
@@ -93,6 +93,10 @@ public class Tile implements Position, TargetTrait{
|
|||||||
Call.onTileConfig(player, this, value);
|
Call.onTileConfig(player, this, value);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void configureAny(int value){
|
||||||
|
Call.onTileConfig(null, this, value);
|
||||||
|
}
|
||||||
|
|
||||||
@SuppressWarnings("unchecked")
|
@SuppressWarnings("unchecked")
|
||||||
public <T extends TileEntity> T entity(){
|
public <T extends TileEntity> T entity(){
|
||||||
return (T)entity;
|
return (T)entity;
|
||||||
|
|||||||
Reference in New Issue
Block a user