Fixed ASync Inventory Open.

This commit is contained in:
Brianna 2019-04-24 15:14:47 -04:00
parent debc586850
commit 638cc3ac4f

View File

@ -88,7 +88,9 @@ public class SettingsManager implements Listener {
config.set(value, event.getMessage()); config.set(value, event.getMessage());
} }
this.finishEditing(player); Bukkit.getScheduler().scheduleSyncDelayedTask(UltimateRepairing.getInstance(), () ->
this.finishEditing(player), 0L);
event.setCancelled(true); event.setCancelled(true);
} }