Skip to content
Success

Changes

Summary

  1. `ItemPotion`: clear stew effects, modernize (#2582) (commit: 5cf15d9) (details)
Commit 5cf15d9660068269ed817f1d42886011c0c0dc31 by noreply
`ItemPotion`: clear stew effects, modernize (#2582)

* Initial update + cleanup

* Remove another redundant method

* Move legacy code to the bottom

* Properly clear suspicious stew effects

* Fix `getMapTagData` maps order

* Mirror upstream changes

* Early return in `setPropertyValue`

* Update meta

* Color under `includeExtras`

* Correct direct `object` usage

* Cleanup `getMapTagData` list creation
(commit: 5cf15d9)
The file was modifiedpaper/src/main/java/com/denizenscript/denizen/paper/events/PlayerBeaconEffectScriptEvent.java
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/events/entity/EntityPotionEffectScriptEvent.java
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/objects/properties/entity/EntityPotionEffects.java
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemPotion.java
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemProperty.java