mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-11-09 20:41:23 +01:00
commit
207a8d1b4f
@ -23,7 +23,7 @@ public class Commandsetwarp extends EssentialsCommand
|
||||
throw new NotEnoughArgumentsException();
|
||||
}
|
||||
|
||||
if (Util.isInt(args[0]))
|
||||
if (Util.isInt(args[0]) || args[0].isEmpty())
|
||||
{
|
||||
throw new NoSuchFieldException(_("invalidWarpName"));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user