Skip to content
Success

Changes

Summary

  1. Cleanup and improve `PlayerHoldsItemEvent` (#2427) (commit: 1603d42) (details)
Commit 1603d4242b0270e93aee4ab2cd397687cb4f43e3 by noreply
Cleanup and improve `PlayerHoldsItemEvent` (#2427)

* Cleanup improve and rename `PlayerHoldsItemEvent`

* Update meta

* Minor cleanups

* Better accuracy for scrolling, fire for switching

* Limit Paper impl to 1.18+

* Cleanup imports
(commit: 1603d42)
The file was removedplugin/src/main/java/com/denizenscript/denizen/events/player/PlayerHoldsItemEvent.java
The file was modifiedpaper/src/main/java/com/denizenscript/denizen/paper/PaperModule.java (diff)
The file was addedplugin/src/main/java/com/denizenscript/denizen/events/player/PlayerRaiseLowerItemScriptEvent.java
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/utilities/packets/DenizenPacketHandler.java (diff)
The file was addedpaper/src/main/java/com/denizenscript/denizen/paper/events/PlayerRaiseLowerItemScriptEventPaperImpl.java
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/events/ScriptEventRegistry.java (diff)