Skip to content

Commit

Permalink
get executor for PlaceholderValueProvider
Browse files Browse the repository at this point in the history
  • Loading branch information
HSGamer committed Oct 30, 2024
1 parent 2b4926b commit 084dbc4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,6 @@ public CompletableFuture<Optional<Double>> getValue(UUID uuid) {
}
return Optional.empty();
}
}, (isAsync ? AsyncScheduler.get(plugin) : GlobalScheduler.get(plugin))::run);
}, (isAsync ? AsyncScheduler.get(plugin) : GlobalScheduler.get(plugin)).getExecutor());
}
}

0 comments on commit 084dbc4

Please sign in to comment.