Change some custom event to let them be async
This commit is contained in:
@@ -20,6 +20,7 @@ public class ProtectInventoryEvent extends CustomEvent {
|
||||
|
||||
public ProtectInventoryEvent(Player player, ItemStack[] storedinventory,
|
||||
ItemStack[] storedarmor) {
|
||||
super(true);
|
||||
this.player = player;
|
||||
this.storedinventory = storedinventory;
|
||||
this.storedarmor = storedarmor;
|
||||
|
||||
Reference in New Issue
Block a user