mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-12-28 03:27:39 +01:00
fix it for real now
This commit is contained in:
parent
817b5364cf
commit
ce92329705
@ -56,10 +56,10 @@ public abstract class ChatCommand implements TabExecutor {
|
|||||||
|
|
||||||
case 1:
|
case 1:
|
||||||
if (CommandUtils.shouldEnableToggle(args[0])) {
|
if (CommandUtils.shouldEnableToggle(args[0])) {
|
||||||
if (!CommandUtils.hasPlayerDataKey(sender)) {
|
if (CommandUtils.noConsoleUsage(sender)) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if (CommandUtils.noConsoleUsage(sender)) {
|
if (!CommandUtils.hasPlayerDataKey(sender)) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -68,10 +68,10 @@ public abstract class ChatCommand implements TabExecutor {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (CommandUtils.shouldDisableToggle(args[0])) {
|
if (CommandUtils.shouldDisableToggle(args[0])) {
|
||||||
if (!CommandUtils.hasPlayerDataKey(sender)) {
|
if (CommandUtils.noConsoleUsage(sender)) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if (CommandUtils.noConsoleUsage(sender)) {
|
if (!CommandUtils.hasPlayerDataKey(sender)) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user