Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-11-20 06:50:08 +01:00
Add DataItem constructor without data short (#3884)
Dieser Commit ist enthalten in:
Ursprung
d9446eed07
Commit
d8aa3c4b39
@ -38,6 +38,10 @@ public class DataItem implements Item {
|
||||
public DataItem() {
|
||||
}
|
||||
|
||||
public DataItem(int identifier, byte amount, @Nullable CompoundTag tag) {
|
||||
this(identifier, amount, (short) 0, tag);
|
||||
}
|
||||
|
||||
public DataItem(int identifier, byte amount, short data, @Nullable CompoundTag tag) {
|
||||
this.identifier = identifier;
|
||||
this.amount = amount;
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren