diff --git a/src/main/java/us/camin/api/VaultModifyEvent.java b/src/main/java/us/camin/api/VaultModifyEvent.java index f64a0ef..72e84fa 100644 --- a/src/main/java/us/camin/api/VaultModifyEvent.java +++ b/src/main/java/us/camin/api/VaultModifyEvent.java @@ -27,6 +27,7 @@ public class VaultModifyEvent extends ServerEvent { public static VaultModifyEvent fromJSON(JSONObject obj, int id) { VaultModifyEvent ret = new VaultModifyEvent(); ret.player = obj.optString("player"); + ret.id = id; JSONArray items; try { items = obj.getJSONArray("items");