Fixed javadoc

This commit is contained in:
Auxilor
2022-10-29 16:34:18 +01:00
parent 39fb676b9a
commit e67d9d634c
2 changed files with 5 additions and 3 deletions

View File

@@ -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.

View File

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