1
0
mirror of https://github.com/lucko/LuckPerms.git synced 2025-09-09 05:40:47 +02:00

Catch RejectedExecutionException in BufferedRequest (#2289)

This commit is contained in:
Luck
2020-05-11 21:15:42 +01:00
parent 9984d4be42
commit c7a0e59919
2 changed files with 11 additions and 1 deletions

View File

@@ -63,6 +63,10 @@ public class BukkitCommandListUpdater {
// Called when a user's data is recalculated.
public void onUserDataRecalculate(UserDataRecalculateEvent e) {
if (this.plugin.getBootstrap().isServerStopping()) {
return;
}
UUID uniqueId = e.getUser().getUniqueId();
if (!this.plugin.getBootstrap().isPlayerOnline(uniqueId)) {
return;