Skip to content

Commit

Permalink
Fixed Javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
fulminazzo committed Apr 13, 2024
1 parent 2ad40ae commit e3bfa71
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,8 @@ public PersistentItem copy() {

/**
* Instantiates a new Persistent item.
*
* @return the persistent item
*/
public static PersistentItem newItem() {
return new PersistentItem();
Expand All @@ -287,6 +289,7 @@ public static PersistentItem newItem() {
* Instantiates a new Persistent item.
*
* @param material the material
* @return the persistent item
*/
public static PersistentItem newItem(final @NotNull Material material) {
return new PersistentItem(material);
Expand All @@ -296,6 +299,7 @@ public static PersistentItem newItem(final @NotNull Material material) {
* Instantiates a new Persistent item.
*
* @param material the material
* @return the persistent item
*/
public static PersistentItem newItem(final @Nullable String material) {
return new PersistentItem(material);
Expand All @@ -306,6 +310,7 @@ public static PersistentItem newItem(final @Nullable String material) {
*
* @param material the material
* @param amount the amount
* @return the persistent item
*/
public static PersistentItem newItem(final @NotNull Material material, final int amount) {
return new PersistentItem(material, amount);
Expand All @@ -316,6 +321,7 @@ public static PersistentItem newItem(final @NotNull Material material, final int
*
* @param material the material
* @param amount the amount
* @return the persistent item
*/
public static PersistentItem newItem(final @Nullable String material, final int amount) {
return new PersistentItem(material, amount);
Expand Down

0 comments on commit e3bfa71

Please sign in to comment.