mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2024-09-06 04:08:03 +02:00
Fixed allowed/blocked commands not being checked early enough.
This commit is contained in:
parent
72e4922e8e
commit
6285a66d76
@ -106,7 +106,7 @@ public void registerEvents() {
|
|||||||
registerEvent("PLAYER_RESPAWN", Priority.High);
|
registerEvent("PLAYER_RESPAWN", Priority.High);
|
||||||
registerEvent("PLAYER_ITEM_HELD", Priority.High);
|
registerEvent("PLAYER_ITEM_HELD", Priority.High);
|
||||||
registerEvent("PLAYER_BED_ENTER", Priority.High);
|
registerEvent("PLAYER_BED_ENTER", Priority.High);
|
||||||
registerEvent("PLAYER_COMMAND_PREPROCESS", Priority.High);
|
registerEvent("PLAYER_COMMAND_PREPROCESS", Priority.Lowest);
|
||||||
if (plugin.getGlobalStateManager().usePlayerMove) {
|
if (plugin.getGlobalStateManager().usePlayerMove) {
|
||||||
registerEvent("PLAYER_MOVE", Priority.High);
|
registerEvent("PLAYER_MOVE", Priority.High);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user