Arn
Member
- Joined
- Mar 8, 2010
- Messages
- 282
- Reaction score
- 18
Hi, I'm doing a spell where I sometimes call getThingFromPos(pos). The problem is that if a tile is above ground and with nothing there, then the spell loops, generates errors, and crashes the server.
Is there any way I can check a position to see if its been set?
-TFS 0.2.12
-Arn
- - - Updated - - -
As usual, I find the solution on my own.
if positionExists(pos) then
Is there any way I can check a position to see if its been set?
-TFS 0.2.12
-Arn
- - - Updated - - -
As usual, I find the solution on my own.
if positionExists(pos) then