How come this is sending this console error message? The console error message is this: http://gyazo.com/4ba948aea6e45f795b8ddeaf03f7591e The code that is giving the errors is this: Code:java @EventHandler public void onPlayerJoin(PlayerJoinEvent e) { Player p = e.getPlayer(); if ((((MetadataValue)p.getMetadata("morphtype").get(0)).asString().equals("spider")) && (DisguiseCraft.getAPI().isDisguised(p))) { p.removePotionEffect(PotionEffectType.REGENERATION); p.getInventory().remove(Material.SPIDER_EYE); p.sendMessage(ChatColor.BLUE + "Morphs> " + ChatColor.GRAY + "You were unmorphed due to logging out."); Morphs.unmorph(p); p.setFoodLevel(20); } else if ((((MetadataValue)p.getMetadata("morphtype").get(0)).asString().equals("chicken")) && (DisguiseCraft.getAPI().isDisguised(p))) { p.removePotionEffect(PotionEffectType.WEAKNESS); p.getInventory().remove(Material.FEATHER); p.sendMessage(ChatColor.BLUE + "Morphs> " + ChatColor.GRAY + "You were unmorphed due to logging out."); Morphs.unmorph(p); } else if ((((MetadataValue)p.getMetadata("morphtype").get(0)).asString().equals("golem")) && (DisguiseCraft.getAPI().isDisguised(p))) { p.removePotionEffect(PotionEffectType.SLOW); p.removePotionEffect(PotionEffectType.DAMAGE_RESISTANCE); p.removePotionEffect(PotionEffectType.HEALTH_BOOST); p.getInventory().remove(Material.IRON_INGOT); p.sendMessage(ChatColor.BLUE + "Morphs> " + ChatColor.GRAY + "You were unmorphed due to logging out."); Morphs.unmorph(p); } } Apprently this line is the error: if ((((MetadataValue)p.getMetadata("morphtype").get(0)).asString().equals("spider")) && (DisguiseCraft.getAPI().isDisguised(p))) {
Don't make more threads when they get closed by a admin (http://forums.bukkit.org/threads/console-errors-3.261926/#post-2448930), also you are using Spigot which is not supported here which i have seen you have tried to crop it out from the top of the image.
There's nothing wrong with spigot. OP, you may want to join us at spigot, definitely less retards like these.
Kiaeyi I'm going on by what the Admins/Moderators have been doing, closing any posts that use Spigot and redirecting them there for there issues.
Locked. If you need help developing plugins for software we do not make, post on the forums for the software you use. Unofficial builds can and often do change how the Bukkit API functions, so any help we give you may be entirely invalid. You've chosen to use their software, please understand that choice involves using their support.