mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-07 08:47:35 +01:00
SPIGOT-4984: EnchantmentOffer.getCost() documentation is misleading
By: md_5 <git@md-5.net>
This commit is contained in:
parent
1399237b6b
commit
157abe40d4
@ -60,8 +60,8 @@ public class EnchantmentOffer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the cost in experience levels the player has to pay to enchant his
|
* Gets the cost which is displayed as a number on the right hand side of
|
||||||
* item with this enchantment.
|
* the enchantment offer.
|
||||||
*
|
*
|
||||||
* @return cost for this enchantment
|
* @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
|
* Sets the the cost which is displayed as a number on the right hand side
|
||||||
* item with this enchantment
|
* of the enchantment offer.
|
||||||
*
|
*
|
||||||
* @param cost cost for this enchantment
|
* @param cost cost for this enchantment
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user