voi helvetti

This commit is contained in:
Song Minjae
2017-04-17 02:29:05 +09:00
parent 4c928f2772
commit 073e36b48a

View File

@@ -125,8 +125,8 @@ object ItemCodex {
return false
}
// return false if the tile is already there
if (this.id == Terrarum.ingame!!.world.getTileFromTerrain(gc.mouseTileX, gc.mouseTileY))
// return false if there's no tile
if (Tile.AIR == Terrarum.ingame!!.world.getTileFromTerrain(gc.mouseTileX, gc.mouseTileY))
return false
// filter passed, do the job