mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-12-22 17:18:40 +01:00
Unregister placeholder api extension synchronously
Affects issues: - Fixed #2841
This commit is contained in:
parent
5b6efa0438
commit
12d22f945f
@ -144,7 +144,7 @@ public class Plan extends JavaPlugin implements PlanPlugin {
|
||||
|
||||
private void unregisterPlaceholders(BukkitPlaceholderRegistrar placeholders) {
|
||||
if (placeholders != null) {
|
||||
placeholders.unregister();
|
||||
runnableFactory.create(placeholders::unregister);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user