Skip to content

Commit

Permalink
fix async handling of list ping event
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Feb 7, 2023
1 parent a140654 commit e257936
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -130,7 +130,7 @@ public void syncFire(ServerListPingEvent event) {
if (!Bukkit.isPrimaryThread()) {
BukkitScriptEvent altEvent = (BukkitScriptEvent) clone();
Future future = Bukkit.getScheduler().callSyncMethod(Denizen.getInstance(), () -> {
altEvent.fire();
altEvent.fire(event);
return null;
});
try {
Expand Down

0 comments on commit e257936

Please sign in to comment.