Updated Upstream (Bukkit/CraftBukkit/Spigot)
This commit is contained in:
parent
a657f18f1f
commit
a36a4e2018
22 changed files with 100 additions and 195 deletions
|
@ -20,9 +20,11 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||
+ * @param equipmentSlot the slot to get the attributes for
|
||||
+ * @throws IllegalArgumentException if {@link #isItem()} is false
|
||||
+ * @return an immutable multimap of attributes
|
||||
+ * @deprecated use {@link #getDefaultAttributeModifiers(EquipmentSlot)}
|
||||
+ */
|
||||
+ @NotNull
|
||||
+ public com.google.common.collect.Multimap<org.bukkit.attribute.Attribute, org.bukkit.attribute.AttributeModifier> getItemAttributes(@NotNull EquipmentSlot equipmentSlot) {
|
||||
+ @Deprecated
|
||||
+ public Multimap<Attribute, AttributeModifier> getItemAttributes(@NotNull EquipmentSlot equipmentSlot) {
|
||||
+ return Bukkit.getUnsafe().getItemAttributes(this, equipmentSlot);
|
||||
+ }
|
||||
// Paper end
|
||||
|
@ -46,7 +48,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||
+ * @return an immutable multimap of attributes
|
||||
+ */
|
||||
+ @org.jetbrains.annotations.NotNull
|
||||
+ public com.google.common.collect.Multimap<org.bukkit.attribute.Attribute, org.bukkit.attribute.AttributeModifier> getItemAttributes(@org.jetbrains.annotations.NotNull Material material, @org.jetbrains.annotations.NotNull org.bukkit.inventory.EquipmentSlot equipmentSlot);
|
||||
+ public Multimap<Attribute, AttributeModifier> getItemAttributes(@org.jetbrains.annotations.NotNull Material material, @org.jetbrains.annotations.NotNull EquipmentSlot equipmentSlot);
|
||||
+
|
||||
/**
|
||||
* Returns the server's protocol version.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue