Fix item deserializing

This commit is contained in:
creeper123123321 2019-01-25 10:01:24 -02:00
parent 2d0209b221
commit 50395da626
No known key found for this signature in database
GPG Key ID: 0AC57D54786721D1

View File

@ -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;