Hello. I am doing a command that will dispatch commands from the console, here's my code: Code:java @EventHandlerpublic boolean onCommand(CommandSender player, Command cmd, String commandLabel, String[] args){ if(cmd.getName().equalsIgnoreCase("zombie")){if(player.hasPermission("dkits.zombie")){plugin.getServer().dispatchCommand(plugin.getServer().getConsoleSender(), "kit zombie " + player);plugin.getServer().dispatchCommand(plugin.getServer().getConsoleSender(), "eco give " + player + " " + plugin.getConfig().getString("Zombie.MoneyAmount"));plugin.getServer().dispatchCommand(plugin.getServer().getConsoleSender(), "exp give " + player + " " + plugin.getConfig().getString("Zombie.ExpAmount"));player.sendMessage(ChatColor.GREEN + "[NexusPvP] " + ChatColor.GOLD + "You have been given your Zombie kit.");}else{player.sendMessage(ChatColor.RED + "You're not allowed to use this donator kit.");}return true;} return false;} It will say "Player not found" from essentials when doing the kit zombie command, same with eco and exp too, why?
Oh. -_- I had that problem like a year ago and I am stupid this time too, I completely forgot it. Thanks.