mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-03 22:15:45 +00:00
fix clearchat permission
This commit is contained in:
1 parent
ca4168874c
commit
125e448908
1 file changed
+1
-1
@@ -28,7 +28,7 @@ public class CommandClearChat extends BaseCommand {
|
|||||||
Component component = MiniMessage.instance().parse(format);
|
Component component = MiniMessage.instance().parse(format);
|
||||||
|
|
||||||
for (Player player : Bukkit.getOnlinePlayers()) {
|
for (Player player : Bukkit.getOnlinePlayers()) {
|
||||||
if (player.hasPermission("simplechat.clear.exempt")) {
|
if (player.hasPermission("simplechat.clearchat.exempt")) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user