Fix all the bugs

This commit is contained in:
2020-09-11 22:27:26 -05:00
parent d67189e170
commit 9cb96e81ac
10 changed files with 117 additions and 15 deletions

View File

@ -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)
{