setItemOnTile doesn't use nonexistent methods

This commit is contained in:
Bokros Bálint 2016-03-29 10:42:55 +02:00 committed by Kjistóf
parent 65436b2ed4
commit 15c9306d95

View File

@ -41,9 +41,9 @@ public abstract class Tile {
public void setItemOnTile(Pickable item) {
Menu.addTab();
System.out.println(">" + "[" + ":" + this.getClass().getSimpleName() + "]" + Menu.tabulator + "Tile.setItemOnTile(" + item.name() + ")");
System.out.println(">" + "[" + ":" + this.getClass().getSimpleName() + "]" + Menu.tabulator + "Tile.setItemOnTile(" + "item" + ")");
itemOnTile = item;
System.out.println("<" + "[" + ":" + this.getClass().getSimpleName() + "]" + Menu.tabulator + "Tile.setItemOnTile(" + item.name() + ")");
System.out.println("<" + "[" + ":" + this.getClass().getSimpleName() + "]" + Menu.tabulator + "Tile.setItemOnTile(" + "item" + ")");
Menu.removeTab();
}