mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2024-09-11 01:38:07 +02:00
Merge pull request #161 from Kyzderp/dradius
Out of bounds with disguiseradius
This commit is contained in:
commit
7f2155104e
@ -117,6 +117,11 @@ public class RadiusDisguiseCommand extends BaseDisguiseCommand
|
||||
+ (starting != 0 ? " and EntityType" : ""));
|
||||
return true;
|
||||
}
|
||||
else if (args.length < 2)
|
||||
{
|
||||
sender.sendMessage(ChatColor.RED + "You need to supply a radius as well as the disguise");
|
||||
return true;
|
||||
}
|
||||
|
||||
if (!isNumeric(args[starting]))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user