Skip to content

Commit

Permalink
Stores in other databases.
Browse files Browse the repository at this point in the history
  • Loading branch information
tastybento committed May 5, 2019
1 parent ad03670 commit 0ac99cd
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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<String, List<ItemStack>> inventory = new HashMap<>();
@Expose
private Map<String, Double> health = new HashMap<>();
@Expose
private Map<String, Integer> food = new HashMap<>();
@Expose
private Map<String, Integer> exp = new HashMap<>();
@Expose
private Map<String, Location> location = new HashMap<>();

@Override
Expand Down

0 comments on commit 0ac99cd

Please sign in to comment.