This commit is contained in:
nulli0n committed 2024-11-23 01:44:27 +05:00
1 parent 619841121a
commit eaaea371ab
1 file changed
+13 -1
@@ -318,7 +318,19 @@ public class NightItem implements Writeable {
}
@NotNull
@Deprecated
public NightItem removeNameAndLore() {
return this.ignoreNameAndLore();
}
@NotNull
@Deprecated
public NightItem singleAmount() {
return this.ignoreAmount();
}
@NotNull
public NightItem ignoreNameAndLore() {
this.setItemName(null);
this.setDisplayName(null);
this.setLore(null);
@@ -326,7 +338,7 @@ public class NightItem implements Writeable {
}
@NotNull
public NightItem singleAmount() {
public NightItem ignoreAmount() {
this.setAmount(1);
return this;
}