fixed Tile.removeItemFromTile() nullptr exception
This commit is contained in:
parent
2790260ef9
commit
a9b9e8d5ef
@ -46,7 +46,6 @@ public abstract class Tile {
|
|||||||
Menu.addTab();
|
Menu.addTab();
|
||||||
System.out.println(">" + "[" + ":" + this.getClass().getSimpleName() + "]" + Menu.tabulator + "Tile.removeItemFromTile()");
|
System.out.println(">" + "[" + ":" + this.getClass().getSimpleName() + "]" + Menu.tabulator + "Tile.removeItemFromTile()");
|
||||||
Pickable item = itemOnTile;
|
Pickable item = itemOnTile;
|
||||||
itemOnTile = null;
|
|
||||||
System.out.println("<" + "[" + ":" + this.getClass().getSimpleName() + "]" + Menu.tabulator + "Tile.removeItemFromTile()");
|
System.out.println("<" + "[" + ":" + this.getClass().getSimpleName() + "]" + Menu.tabulator + "Tile.removeItemFromTile()");
|
||||||
Menu.removeTab();
|
Menu.removeTab();
|
||||||
return item;
|
return item;
|
||||||
|
Loading…
Reference in New Issue
Block a user