Fixed incorrect permission for /vsd a.k.a /disguiseviewself
This commit is contained in:
		| @@ -11,6 +11,7 @@ public class LibsDisguisesCommand implements CommandExecutor { | |||||||
|  |  | ||||||
|     @Override |     @Override | ||||||
|     public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args) { |     public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args) { | ||||||
|  |         if (!sender.hasPermission("libsdisguises.reload")) { | ||||||
|             if (args.length == 0) { |             if (args.length == 0) { | ||||||
|                 sender.sendMessage(ChatColor.DARK_GREEN |                 sender.sendMessage(ChatColor.DARK_GREEN | ||||||
|                         + "This server is running " |                         + "This server is running " | ||||||
| @@ -27,6 +28,7 @@ public class LibsDisguisesCommand implements CommandExecutor { | |||||||
|                     sender.sendMessage(ChatColor.RED + "[LibsDisguises] That command doesn't exist!"); |                     sender.sendMessage(ChatColor.RED + "[LibsDisguises] That command doesn't exist!"); | ||||||
|                 } |                 } | ||||||
|             } |             } | ||||||
|  |         } | ||||||
|         return true; |         return true; | ||||||
|     } |     } | ||||||
| } | } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user