mirror of
https://github.com/songoda/EpicHoppers.git
synced 2025-01-08 08:57:48 +01:00
Fixed ASync Inventory Open.
This commit is contained in:
parent
607f814afb
commit
6f8f1fa7eb
@ -82,7 +82,9 @@ public class SettingsManager implements Listener {
|
|||||||
config.set(value, event.getMessage());
|
config.set(value, event.getMessage());
|
||||||
}
|
}
|
||||||
|
|
||||||
this.finishEditing(player);
|
Bukkit.getScheduler().scheduleSyncDelayedTask(EpicHoppersPlugin.getInstance(), () ->
|
||||||
|
this.finishEditing(player), 0L);
|
||||||
|
|
||||||
event.setCancelled(true);
|
event.setCancelled(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user