mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2025-07-02 20:56:40 +00:00
Fix all the bugs
This commit is contained in:
@ -19,7 +19,7 @@ public class Command_setlimit extends FreedomCommand
|
||||
{
|
||||
try
|
||||
{
|
||||
amount = Math.max(1, Math.min(plugin.web.getMaxLimit(), Integer.parseInt(args[0])));
|
||||
amount = Math.max(-1, Math.min(plugin.web.getMaxLimit(), Integer.parseInt(args[0])));
|
||||
}
|
||||
catch (NumberFormatException ex)
|
||||
{
|
||||
|
Reference in New Issue
Block a user