mirror of
https://gitlab.com/SamB440/rpgregions-2.git
synced 2025-12-27 10:49:08 +00:00
Fix potential thread async error
This commit is contained in:
@@ -55,7 +55,7 @@ public class RegionListener implements Listener {
|
||||
}
|
||||
}
|
||||
|
||||
this.checkEffects(configuredRegion, player);
|
||||
Bukkit.getScheduler().runTask(plugin, () -> this.checkEffects(configuredRegion, player));
|
||||
|
||||
if (configuredRegion.alwaysShowTitles() && event.hasChanged() && has && prioritised) {
|
||||
this.sendTitles(player, configuredRegion, false);
|
||||
|
||||
Reference in New Issue
Block a user