mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2024-12-18 15:17:36 +01:00
Fixed logic error in blocked-cmds for real this time.
Closes WORLDGUARD-3050.
This commit is contained in:
parent
ff46c2cf54
commit
0dd9729b35
@ -1483,8 +1483,8 @@ public void onPlayerCommandPreprocess(PlayerCommandPreprocessEvent event) {
|
||||
}
|
||||
}
|
||||
} else {
|
||||
// found non-matching part, stop checking
|
||||
break blocked;
|
||||
// found non-matching part, stop checking this command
|
||||
continue blocked;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user