set vaultmodifyevent id
This commit is contained in:
@ -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");
|
||||||
|
Reference in New Issue
Block a user