Skip to content
Success

Changes

Summary

  1. SPIGOT-7637: Bad logic in checking nullability of AttributeModifier (details)
Commit 79c595c0c33b2f0ea98c8d8219bbb3f298bc6504 by derrieple
SPIGOT-7637: Bad logic in checking nullability of AttributeModifier slots

Also fix Class loading order issues, which resulted in EquipmentSlot#getGroup returning null, since EquipmentSlot and EquipmentSlotGroup referencing each other on class init.
This caused EquipmentSlot to being init first, when the fields in EquipmentSlotGroup are still null, resulting in the group being null.
The file was modifiedsrc/main/java/org/bukkit/attribute/AttributeModifier.java
The file was modifiedsrc/main/java/org/bukkit/inventory/EquipmentSlot.java