set vaultmodifyevent id

This commit is contained in:
Trever Fischer 2012-11-12 14:37:46 -05:00
parent 78e8a6d36e
commit b8c34f9609

View File

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