Commits

DerFrZocker authored and md_5 committed d14119af7e1
#1082: Add "since" to Deprecation annotations
No tags

src/main/java/org/bukkit/attribute/AttributeModifier.java

Modified
116 116 }
117 117
118 118 /**
119 119 * Get the {@link EquipmentSlot} this AttributeModifier is active on,
120 120 * or null if this modifier is applicable for any slot.
121 121 *
122 122 * @return the slot
123 123 * @deprecated use {@link #getSlotGroup()}
124 124 */
125 125 @Nullable
126 - @Deprecated
126 + @Deprecated(since = "1.20.5")
127 127 public EquipmentSlot getSlot() {
128 128 return slot == EquipmentSlotGroup.ANY ? null : slot.getExample();
129 129 }
130 130
131 131 /**
132 132 * Get the {@link EquipmentSlot} this AttributeModifier is active on,
133 133 * or null if this modifier is applicable for any slot.
134 134 *
135 135 * @return the slot
136 136 */

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut