mirror of
https://github.com/TotalFreedomMC/TotalFreedomMod.git
synced 2025-08-06 12:33:11 +00:00
staff -> admins
* rename everything containing staff back to admin (as requested by ryan i've renamed commands like slconfig to saconfig but left "slconfig" as an alias) * format almost every file correctly * a few other improvements
This commit is contained in:
parent
aae1f524ea
commit
293ea04c56
205 changed files with 1667 additions and 1696 deletions
|
@ -18,14 +18,14 @@ public class Command_blockredstone extends FreedomCommand
|
|||
if (ConfigEntry.ALLOW_REDSTONE.getBoolean())
|
||||
{
|
||||
ConfigEntry.ALLOW_REDSTONE.setBoolean(false);
|
||||
FUtil.staffAction(sender.getName(), "Blocking all redstone", true);
|
||||
FUtil.adminAction(sender.getName(), "Blocking all redstone", true);
|
||||
new BukkitRunnable()
|
||||
{
|
||||
public void run()
|
||||
{
|
||||
if (!ConfigEntry.ALLOW_REDSTONE.getBoolean())
|
||||
{
|
||||
FUtil.staffAction("TotalFreedom", "Unblocking all redstone", false);
|
||||
FUtil.adminAction("TotalFreedom", "Unblocking all redstone", false);
|
||||
ConfigEntry.ALLOW_REDSTONE.setBoolean(true);
|
||||
}
|
||||
}
|
||||
|
@ -34,8 +34,8 @@ public class Command_blockredstone extends FreedomCommand
|
|||
else
|
||||
{
|
||||
ConfigEntry.ALLOW_REDSTONE.setBoolean(true);
|
||||
FUtil.staffAction(sender.getName(), "Unblocking all redstone", true);
|
||||
FUtil.adminAction(sender.getName(), "Unblocking all redstone", true);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue