Skip to content

Commit 1486be1

Browse files
committed
There isn't really a to-do for this, so let's just have it run this execution as-is, without the empty else
1 parent 1ca3592 commit 1486be1

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -675,13 +675,10 @@ public void handleCommand(CommandEvent event) {
675675
if (queued != null && !queued.isQueued()) {
676676
if (actor instanceof Player player) {
677677
TaskManager.taskManager().task(() -> handleCommandOnCurrentThread(event), player.getLocation());
678-
} else {
679-
// Work In Progress
680678
}
681679
return;
682-
} else {
683-
actor.decline();
684680
}
681+
actor.decline();
685682
actor.runAction(() -> {
686683
SessionKey key = actor.getSessionKey();
687684
if (key.isActive()) {

0 commit comments

Comments
 (0)