diff --git a/src/main/java/com/wasteofplastic/invswitcher/dataObjects/InventoryStorage.java b/src/main/java/com/wasteofplastic/invswitcher/dataObjects/InventoryStorage.java index fdf16f1..55bd85d 100644 --- a/src/main/java/com/wasteofplastic/invswitcher/dataObjects/InventoryStorage.java +++ b/src/main/java/com/wasteofplastic/invswitcher/dataObjects/InventoryStorage.java @@ -8,15 +8,23 @@ import org.bukkit.Location; import org.bukkit.inventory.ItemStack; +import com.google.gson.annotations.Expose; + import world.bentobox.bentobox.database.objects.DataObject; public class InventoryStorage implements DataObject { + @Expose private String uniqueId; + @Expose private Map> inventory = new HashMap<>(); + @Expose private Map health = new HashMap<>(); + @Expose private Map food = new HashMap<>(); + @Expose private Map exp = new HashMap<>(); + @Expose private Map location = new HashMap<>(); @Override