VaultUnlockEvent
#11687
Replies: 1 comment 1 reply
-
The BlockDispenseLootEvent seems to already exist for this case now, a new event won't be able to expose anything extra (at least once vault api is merged in) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is your feature request related to a problem?
Currently, it's quite tricky to listen to (and cancel) vault unlocking without listening to
PlayerInteractEvent
.Describe the solution you'd like.
VaultUnlockEvent
which would be called when player (successfully) unlocks a vault with a key. This event should be cancellable.Describe alternatives you've considered.
PlayerInteractEvent
is what I'm using currently. While it works, it isn't as reliable asVaultUnlockEvent
could be, mainly because logic is based on predictions of whether vault actually unlocked or not.Other
No response
Beta Was this translation helpful? Give feedback.
All reactions