From 550732e43625f2e1fa898b851c6f13b45aed307a Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Wed, 18 Sep 2019 20:02:30 +1000 Subject: [PATCH] Fix typos in previous commits Thanks ShaneBee By: md_5 --- .../main/java/org/bukkit/enchantments/EnchantmentOffer.java | 4 ++-- paper-api/src/main/java/org/bukkit/entity/Damageable.java | 2 +- .../java/org/bukkit/event/enchantment/EnchantItemEvent.java | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/paper-api/src/main/java/org/bukkit/enchantments/EnchantmentOffer.java b/paper-api/src/main/java/org/bukkit/enchantments/EnchantmentOffer.java index da9fc59caa..76761b4b4a 100644 --- a/paper-api/src/main/java/org/bukkit/enchantments/EnchantmentOffer.java +++ b/paper-api/src/main/java/org/bukkit/enchantments/EnchantmentOffer.java @@ -70,8 +70,8 @@ public class EnchantmentOffer { } /** - * Sets the the cost (minimum level) which is displayed as a number on the - * right hand side of the enchantment offer. + * Sets the cost (minimum level) which is displayed as a number on the right + * hand side of the enchantment offer. * * @param cost cost for this enchantment */ diff --git a/paper-api/src/main/java/org/bukkit/entity/Damageable.java b/paper-api/src/main/java/org/bukkit/entity/Damageable.java index bc4463b467..fc4d3bcd9b 100644 --- a/paper-api/src/main/java/org/bukkit/entity/Damageable.java +++ b/paper-api/src/main/java/org/bukkit/entity/Damageable.java @@ -41,7 +41,7 @@ public interface Damageable extends Entity { void setHealth(double health); /** - * Sets the entity's absorption amount. + * Gets the entity's absorption amount. * * @return absorption amount from 0 */ diff --git a/paper-api/src/main/java/org/bukkit/event/enchantment/EnchantItemEvent.java b/paper-api/src/main/java/org/bukkit/event/enchantment/EnchantItemEvent.java index f58e4599b7..69b74647eb 100644 --- a/paper-api/src/main/java/org/bukkit/event/enchantment/EnchantItemEvent.java +++ b/paper-api/src/main/java/org/bukkit/event/enchantment/EnchantItemEvent.java @@ -79,8 +79,8 @@ public class EnchantItemEvent extends InventoryEvent implements Cancellable { } /** - * Sets the the cost (minimum level) which is displayed as a number on the - * right hand side of the enchantment offer. + * Sets the cost (minimum level) which is displayed as a number on the right + * hand side of the enchantment offer. * * @param level - cost in levels */