Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-11-03 14:50:30 +01:00
Fix item deserializing
Dieser Commit ist enthalten in:
Ursprung
2d0209b221
Commit
50395da626
@ -1,6 +1,7 @@
|
||||
package us.myles.ViaVersion.api.minecraft.item;
|
||||
|
||||
import com.github.steveice10.opennbt.tag.builtin.CompoundTag;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import lombok.*;
|
||||
|
||||
@Getter
|
||||
@ -10,6 +11,7 @@ import lombok.*;
|
||||
@ToString
|
||||
@EqualsAndHashCode
|
||||
public class Item {
|
||||
@SerializedName(value = "identifier", alternate = "id")
|
||||
private int identifier;
|
||||
private byte amount;
|
||||
private short data;
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren