Opps. Check if its NOT in the list
This commit is contained in:
		| @@ -315,7 +315,7 @@ public abstract class BaseDisguiseCommand implements CommandExecutor { | ||||
|                     // He needs to give the player name | ||||
|                     throw new Exception(ChatColor.RED + "Error! You need to give a player name!"); | ||||
|                 } else { | ||||
|                     if (!disguiseOptions.isEmpty() && disguiseOptions.contains(args[1].toLowerCase())) { | ||||
|                     if (!disguiseOptions.isEmpty() && !disguiseOptions.contains(args[1].toLowerCase())) { | ||||
|                         throw new Exception(ChatColor.RED + "Error! You don't have permission to use that name!"); | ||||
|                     } | ||||
|                     // Construct the player disguise | ||||
|   | ||||
		Reference in New Issue
	
	Block a user