mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-17 21:06:11 +00:00
parent
f97de65787
commit
26c83ff585
@ -22,7 +22,8 @@ public class Command_disguisetoggle extends FreedomCommand
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
FUtil.adminAction(sender.getName(), (DisallowedDisguises.disabled ? "Enabling" : "Disabling") + " Disguises", false);
|
FUtil.adminAction(sender.getName(), (DisallowedDisguises.disabled ? "Enabling" : "Disabling") + " " +
|
||||||
|
"Disguises", false);
|
||||||
|
|
||||||
if (plugin.ldb.isDisguisesEnabled())
|
if (plugin.ldb.isDisguisesEnabled())
|
||||||
{
|
{
|
||||||
@ -34,7 +35,7 @@ public class Command_disguisetoggle extends FreedomCommand
|
|||||||
plugin.ldb.setDisguisesEnabled(true);
|
plugin.ldb.setDisguisesEnabled(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
msg("Enabled " + (DisallowedDisguises.disabled ? "enabled." : "disabled."));
|
msg("Disguises are now " + (!DisallowedDisguises.disabled ? "enabled." : "disabled."));
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user