mirror of
https://github.com/darksaid98/nightcore-spigot.git
synced 2026-12-01 14:38:47 +00:00
v2.7.2
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user