mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2024-11-26 03:55:28 +01:00
Fix item deserializing
This commit is contained in:
parent
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;
|
||||
|
Loading…
Reference in New Issue
Block a user