diff options
author | Malfrador <[email protected]> | 2024-07-15 12:31:41 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2024-07-15 12:31:41 +0200 |
commit | 9fd5b3cfbd40b2847dec14f53c1b3b68aed46f12 (patch) | |
tree | 96914d111f50e21fa04bde89a96d9237e581675b /patches/api/0053-Fix-upstream-javadocs.patch | |
parent | 99ae7bbc9760e02fbd5388ad3890258203ee6d5a (diff) | |
download | Paper-9fd5b3cfbd40b2847dec14f53c1b3b68aed46f12.tar.gz Paper-9fd5b3cfbd40b2847dec14f53c1b3b68aed46f12.zip |
Add AttributeModifier constructor without EquipmentSlotGroup (#11079)
Diffstat (limited to 'patches/api/0053-Fix-upstream-javadocs.patch')
-rw-r--r-- | patches/api/0053-Fix-upstream-javadocs.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/patches/api/0053-Fix-upstream-javadocs.patch b/patches/api/0053-Fix-upstream-javadocs.patch index c443b9328b..92c0a51384 100644 --- a/patches/api/0053-Fix-upstream-javadocs.patch +++ b/patches/api/0053-Fix-upstream-javadocs.patch @@ -185,6 +185,20 @@ index 9885fd1adc1f93a80d650e6d42dfa3a0b084db9f..c4f2f03ec31998d486dad1d45ef83df3 * temporarily freezing while locating an unexplored structure. * <p> * The {@code radius} is not a rigid square radius. Each structure may alter +diff --git a/src/main/java/org/bukkit/attribute/AttributeModifier.java b/src/main/java/org/bukkit/attribute/AttributeModifier.java +index d66502c9df2592cd18694481e7e90a71a5c3a359..ee39c0b83e558681e8b006172d34c98e2c83cda2 100644 +--- a/src/main/java/org/bukkit/attribute/AttributeModifier.java ++++ b/src/main/java/org/bukkit/attribute/AttributeModifier.java +@@ -117,8 +117,7 @@ public class AttributeModifier implements ConfigurationSerializable, Keyed { + } + + /** +- * Get the {@link EquipmentSlot} this AttributeModifier is active on, +- * or null if this modifier is applicable for any slot. ++ * Get the {@link EquipmentSlotGroup} this AttributeModifier is active on. + * + * @return the slot + */ diff --git a/src/main/java/org/bukkit/block/Bed.java b/src/main/java/org/bukkit/block/Bed.java index f9bd74f9ce6bd6650726e5a993f9b6e292cdc74d..f4c37ce1fe7aac3dde8485ee51fc8888ed56e79e 100644 --- a/src/main/java/org/bukkit/block/Bed.java |