Fixed javadoc
This commit is contained in:
@@ -26,9 +26,11 @@ public interface Price {
|
||||
|
||||
/**
|
||||
* Give the value of the price to the player.
|
||||
* <p>
|
||||
* You should override this method, it's only marked as default for
|
||||
* backwards compatibility purposes.
|
||||
*
|
||||
* @param player The player.
|
||||
* @apiNote You should override this method, it's only marked as default for backwards compatibility purposes.
|
||||
*/
|
||||
default void giveTo(@NotNull Player player) {
|
||||
// Override when needed.
|
||||
|
||||
@@ -7,8 +7,8 @@ import java.util.function.Supplier;
|
||||
|
||||
/**
|
||||
* Create prices.
|
||||
*
|
||||
* @apiNote You must override one of the create methods to prevent infinite loops.
|
||||
* <p>
|
||||
* You must override one of the create methods.
|
||||
*/
|
||||
public interface PriceFactory {
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user