#whats wrong with this?

1 messages · Page 1 of 1 (latest)

terse mulch
#
if(x === 1165 && y === -60 && z === -1025) {
   //your code
}
#

switch(block.typeId)

#

Any error?

#

Version of your api modules you use?

#

If skit(player) is working properly, I see no other errors.

#

Are you sure that you interact in lodestone in that coordinates? The player must be at that location.

#

Hence you get player's location, the player is the one that need to be in that coordinate.

#

How about try to console.warn the block.typeId?

#

Your code tells that when the player interact on lodestone, and the player who interact is standing in that coordinate to run the skit(player).

#

There's really no content log errors?

#

Because you can't run a form in beforeEvent without using system.run

#

Yes

#

What do you mean by this? By moved the event a bit?

#

Yeah it won't obviously run under break