-
How to cancel PlotSetForSaleEvent? |
Beta Was this translation helpful? Give feedback.
Answered by
LlmDl
Aug 25, 2022
Replies: 2 comments 3 replies
-
It extends event right? So i assume event.setCancelled()? |
Beta Was this translation helpful? Give feedback.
1 reply
-
PlotSetForSaleEvent doesn't implement Cancellable. You could use the event to get the townblock, wait 1 tick, set the townblock not for sale and save the townblock. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
Fe1son
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
PlotSetForSaleEvent doesn't implement Cancellable. You could use the event to get the townblock, wait 1 tick, set the townblock not for sale and save the townblock.