mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-05-07 00:00:45 +00:00
commit
207a8d1b4f
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ public class Commandsetwarp extends EssentialsCommand
|
||||||
throw new NotEnoughArgumentsException();
|
throw new NotEnoughArgumentsException();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Util.isInt(args[0]))
|
if (Util.isInt(args[0]) || args[0].isEmpty())
|
||||||
{
|
{
|
||||||
throw new NoSuchFieldException(_("invalidWarpName"));
|
throw new NoSuchFieldException(_("invalidWarpName"));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue