fixed Tile.removeItemFromTile() nullptr exception

This commit is contained in:
Kjistóf 2016-03-29 11:02:53 +02:00
parent 2790260ef9
commit a9b9e8d5ef

View File

@ -46,7 +46,6 @@ public abstract class Tile {
Menu.addTab();
System.out.println(">" + "[" + ":" + this.getClass().getSimpleName() + "]" + Menu.tabulator + "Tile.removeItemFromTile()");
Pickable item = itemOnTile;
itemOnTile = null;
System.out.println("<" + "[" + ":" + this.getClass().getSimpleName() + "]" + Menu.tabulator + "Tile.removeItemFromTile()");
Menu.removeTab();
return item;