diff --git a/src/main/java/cactusServer/entities/Character.java b/src/main/java/cactusServer/entities/Character.java index f435a04..671a985 100644 --- a/src/main/java/cactusServer/entities/Character.java +++ b/src/main/java/cactusServer/entities/Character.java @@ -1,6 +1,5 @@ package cactusServer.entities; -import java.net.URI; import java.util.ArrayList; import java.util.HashMap; import java.util.List; @@ -17,7 +16,6 @@ private Angle angle; private CharacterModel model; private String areaURI; - private HashMap itemMap = new HashMap<>(); private static final int UNIQUE_ID_LENGTH = 12; @@ -58,10 +56,12 @@ return areaURI; } + @JSONHint(ignore = true) public Item getItem(String itemId) { return itemMap.get(itemId); } + @JSONHint(ignore = true) public List getItems() { List itemList = new ArrayList<>(); for (Item item : itemMap.values()) {