From 9bef4581aa9a234ccd665de766c2a31bdd19fc07 Mon Sep 17 00:00:00 2001 From: Allink Date: Tue, 25 Jul 2023 17:08:05 +0100 Subject: [PATCH] Use Bukkit.getScheduler().runTaskAsynchronously to execute the report --- .../java/me/totalfreedom/totalfreedommod/discord/Discord.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/me/totalfreedom/totalfreedommod/discord/Discord.java b/src/main/java/me/totalfreedom/totalfreedommod/discord/Discord.java index 737e9362..0c6c8f1f 100644 --- a/src/main/java/me/totalfreedom/totalfreedommod/discord/Discord.java +++ b/src/main/java/me/totalfreedom/totalfreedommod/discord/Discord.java @@ -478,7 +478,7 @@ public class Discord extends FreedomService } return true; - }); + }, t -> Bukkit.getScheduler().runTaskAsynchronously(plugin, t)); } // Do no ask why this is here. I spent two hours trying to make a simple thing work