set vaultmodifyevent id
This commit is contained in:
parent
78e8a6d36e
commit
b8c34f9609
@ -27,6 +27,7 @@ public class VaultModifyEvent extends ServerEvent {
|
|||||||
public static VaultModifyEvent fromJSON(JSONObject obj, int id) {
|
public static VaultModifyEvent fromJSON(JSONObject obj, int id) {
|
||||||
VaultModifyEvent ret = new VaultModifyEvent();
|
VaultModifyEvent ret = new VaultModifyEvent();
|
||||||
ret.player = obj.optString("player");
|
ret.player = obj.optString("player");
|
||||||
|
ret.id = id;
|
||||||
JSONArray items;
|
JSONArray items;
|
||||||
try {
|
try {
|
||||||
items = obj.getJSONArray("items");
|
items = obj.getJSONArray("items");
|
||||||
|
Loading…
Reference in New Issue
Block a user