mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-03-07 12:21:52 +09:00
voi helvetti
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user