Merge pull request #161 from Kyzderp/dradius
Out of bounds with disguiseradius
This commit is contained in:
		| @@ -117,6 +117,11 @@ public class RadiusDisguiseCommand extends BaseDisguiseCommand | |||||||
|                     + (starting != 0 ? " and EntityType" : "")); |                     + (starting != 0 ? " and EntityType" : "")); | ||||||
|             return true; |             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])) |         if (!isNumeric(args[starting])) | ||||||
|         { |         { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user