Merge pull request #161 from Kyzderp/dradius

Out of bounds with disguiseradius
This commit is contained in:
libraryaddict 2016-10-02 02:00:49 +13:00 committed by GitHub
commit 7f2155104e

View File

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