mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2025-07-01 12:36:41 +00:00
I'm tired of seeing prs that make small code reformats so im doing a commit to fix it all at once
This commit is contained in:
@ -55,7 +55,7 @@ public class Command_toggle extends FreedomCommand
|
||||
{
|
||||
toggle("Lava placement is", ConfigEntry.ALLOW_LAVA_PLACE);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
else if (args[0].equalsIgnoreCase("fluidspread"))
|
||||
{
|
||||
toggle("Fluid spread is", ConfigEntry.ALLOW_FLUID_SPREAD);
|
||||
@ -155,7 +155,7 @@ public class Command_toggle extends FreedomCommand
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private void toggle(final String name, final ConfigEntry entry)
|
||||
{
|
||||
msg(name + " now " + (entry.setBoolean(!entry.getBoolean()) ? "enabled." : "disabled."));
|
||||
|
Reference in New Issue
Block a user