Skip to content

Commit a7d2112

Browse files
committed
Use ticking thread method instead main thread method
1 parent 7f1765e commit a7d2112

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

worldedit-core/src/main/java/com/sk89q/worldedit/extension/platform/PlatformCommandManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -687,7 +687,7 @@ public void handleCommand(CommandEvent event) {
687687
Command cmd = optional.get();
688688
PermissionCondition queued = cmd.getCondition().as(PermissionCondition.class).orElse(null);
689689
if (queued != null && !queued.isQueued()) {
690-
TaskManager.taskManager().taskNow(() -> handleCommandOnCurrentThread(event), Fawe.isMainThread());
690+
TaskManager.taskManager().taskNow(() -> handleCommandOnCurrentThread(event), Fawe.isTickThread());
691691
return;
692692
} else {
693693
actor.decline();

0 commit comments

Comments
 (0)