Bring EnchantItemEvent documentation in line with EnchantmentOffer

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot
2019-09-13 20:14:18 +10:00
parent 33f110a246
commit 85024025e2
2 changed files with 12 additions and 7 deletions

View File

@@ -60,8 +60,8 @@ public class EnchantmentOffer {
}
/**
* Gets the cost which is displayed as a number on the right hand side of
* the enchantment offer.
* Gets the cost (minimum level) 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 the cost which is displayed as a number on the right hand side
* of the enchantment offer.
* Sets the 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
*/