Done.... To nat: Its in the pvp server, same spot, named 'CreaMech' EDIT: Permission is 'crmech.nightvision' Command is '/nightvision'
Pfft, I made it, ofcourse it works xP Sourcecode (Move your mouse to reveal the content) Sourcecode (open) Sourcecode (close) Not much that can break :O Code: @Override public boolean onCommand(CommandSender sender, Command cmd, String lbl, String[] args) { if (!(sender instanceof Player)) { sender.sendMessage(ChatColor.RED + "Only players can perform this command!"); return false; } if (!sender.hasPermission("crmech.nightvision")) { sender.sendMessage(Constants.NO_PERMISSION); return false; } Player pl = (Player) sender; if (pl.hasPotionEffect(PotionEffectType.NIGHT_VISION)) { pl.removePotionEffect(PotionEffectType.NIGHT_VISION); sender.sendMessage(ChatColor.BLUE + "Removed nightvision!"); } else { pl.addPotionEffect(new PotionEffect(PotionEffectType.NIGHT_VISION, 999999, 0)); sender.sendMessage(ChatColor.BLUE + "You now have nightvision!"); } return true; }
Bug with your client, not many people have this problem. Maybe your gfx needs updating, or the texturepack is causing this, or the minimap. No idea otherwise.
Does indeed look like a client rendering issue, I have had similar problems on my main pc when using certain resource / shader packs, run totally vanilla with a freshly downloaded client, if you still get the issue look for updated video card drivers.