From 157abe40d4648689f4441912d57068d680cf5027 Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Fri, 14 Jun 2019 19:33:55 +1000 Subject: [PATCH] SPIGOT-4984: EnchantmentOffer.getCost() documentation is misleading By: md_5 --- .../java/org/bukkit/enchantments/EnchantmentOffer.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 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 a830610dc1..e99ed64451 100644 --- a/paper-api/src/main/java/org/bukkit/enchantments/EnchantmentOffer.java +++ b/paper-api/src/main/java/org/bukkit/enchantments/EnchantmentOffer.java @@ -60,8 +60,8 @@ public class EnchantmentOffer { } /** - * Gets the cost in experience levels the player has to pay to enchant his - * item with this enchantment. + * Gets the cost which is displayed as a number on the right hand side of + * the enchantment offer. * * @return cost for this enchantment */ @@ -70,8 +70,8 @@ public class EnchantmentOffer { } /** - * Sets the cost in experience levels the player has to pay to enchant his - * item with this enchantment + * Sets the the cost which is displayed as a number on the right hand side + * of the enchantment offer. * * @param cost cost for this enchantment */