Fix EntityEquipment::setDropChance Javadoc (#5925)

This commit is contained in:
Pedro Arenas 2021-06-21 01:42:42 -04:00 committed by GitHub
parent 6dfe0496bd
commit 1830de58bf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -36,7 +36,7 @@ index e85c4208f3536277fcd0f8a0f0b4841c4e073b2c..d0abfc3211a7ec451d83e59c7e39cfc7
+ * + *
+ * @param slot the slot to set the drop chance of + * @param slot the slot to set the drop chance of
+ * @param chance the drop chance for the slot + * @param chance the drop chance for the slot
+ * @throws UnsupportedOperationException when called on players + * @throws UnsupportedOperationException when called on non-{@link Mob} entities
+ */ + */
+ void setDropChance(@NotNull EquipmentSlot slot, float chance); + void setDropChance(@NotNull EquipmentSlot slot, float chance);
+ // Paper end + // Paper end