#Sign Right Click Event not Cancellable

14 messages · Page 1 of 1 (latest)

steel comet
#
    event.cancel()
})```

The sign still starts editing. Is that expected behaviour?
sudden knollBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

rose thunder
#

what is your goal? Lock a sign?

steel comet
#

Part of it, yeah

#

part of my goal, i mean

#

although i suppose if i use a region claiming mod then signs couldn't be edited either way

rose thunder
#

you can lock a sign with honeycomb, not sure if it helps

steel comet
#

this doesn't work either btw

    event.getServer().runCommand("say hi")
})```
#

oh wait, it works on signs placed on the ground

#

but not on sign placed on a wall

rose thunder
#

the name on the wall is not oak_sign

#

check with F3

steel comet
#

well this is embarrassing

#

ty ._.