Fix typos in previous commits

Thanks ShaneBee

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot 2019-09-18 20:02:30 +10:00
parent 85024025e2
commit 550732e436
3 changed files with 5 additions and 5 deletions

View file

@ -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
*/

View file

@ -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
*/

View file

@ -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
*/