Fix typos in previous commits

Thanks ShaneBee
This commit is contained in:
md_5 2019-09-18 20:02:30 +10:00
parent 2a5e0ca207
commit cb888903a4
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
*/