core
core copied to clipboard
Can't modify offers in PrepareItemEnchantEvent
The doc mentions that (in a normal Java plugin) you can edit the array to give the player different offers. I don't think this would work in JavaScript though.
Originally posted by @connerdouglass in https://github.com/customrealms/core/pull/7#discussion_r753921389