Skip to content
Success

Changes

Summary

  1. Update for nullable spawner types, `editMeta` util (#2514) (commit: 890a0b6) (details)
Commit 890a0b6227bd336015c79834a219b5ce03cd1ef9 by noreply
Update for nullable spawner types, `editMeta` util (#2514)

* Add `ItemProperty#editMeta` util

* Update & cleanup `ItemTag.spawner_type`

* Cleanup `ItemInstrument` and use `editMeta`

* Minor cleanup

* Support unsetting the instrument

* Minor cleanup

* `spawnerType` -> `spawnedType`

* Update `LocationTag` ones, make it 1.20+

* Correct no mech input check

* Use a direct cast

* Remove workaround for now fixed Spigot bug
(commit: 890a0b6)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemInstrument.java (diff)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemSpawnerType.java (diff)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/objects/properties/item/ItemProperty.java (diff)
The file was modifiedplugin/src/main/java/com/denizenscript/denizen/objects/LocationTag.java (diff)