mirror of
https://github.com/EngineHub/WorldEdit.git
synced 2024-12-21 04:49:51 +08:00
Fixed permissions checking for individual command.
This commit is contained in:
parent
f55d4be2e9
commit
bd770a5fac
@ -2048,7 +2048,8 @@ private boolean canUseCommand(LocalPlayer player, String command) {
|
|||||||
|| player.hasPermission("worldedit");
|
|| player.hasPermission("worldedit");
|
||||||
}
|
}
|
||||||
|
|
||||||
return player.hasPermission("worldedit");
|
return player.hasPermission(command)
|
||||||
|
|| player.hasPermission("worldedit");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user