java.lang.ClassCastException: net.citizensnpcs.npc.entity.nonliving.ShulkerBulletController$ShulkerBulletNPC cannot be cast to org.bukkit.entity.Arrow

GitHub | Cutiemango | 9 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    ShulkerBullet Cast Exception

    GitHub | 9 months ago | Cutiemango
    java.lang.ClassCastException: net.citizensnpcs.npc.entity.nonliving.ShulkerBulletController$ShulkerBulletNPC cannot be cast to org.bukkit.entity.Arrow

    Root Cause Analysis

    1. java.lang.ClassCastException

      net.citizensnpcs.npc.entity.nonliving.ShulkerBulletController$ShulkerBulletNPC cannot be cast to org.bukkit.entity.Arrow

      at net.citizensnpcs.npc.entity.nonliving.ShulkerBulletController.getBukkitEntity()
    2. net.citizensnpcs.npc
      CitizensNPC.setBukkitEntityType
      1. net.citizensnpcs.npc.entity.nonliving.ShulkerBulletController.getBukkitEntity(ShulkerBulletController.java:27)
      2. net.citizensnpcs.npc.entity.nonliving.ShulkerBulletController.getBukkitEntity(ShulkerBulletController.java:20)
      3. net.citizensnpcs.npc.CitizensNPC.getEntity(CitizensNPC.java:115)
      4. net.citizensnpcs.npc.CitizensNPC.spawn(CitizensNPC.java:197)
      5. net.citizensnpcs.npc.CitizensNPC.setEntityController(CitizensNPC.java:173)
      6. net.citizensnpcs.npc.CitizensNPC.setBukkitEntityType(CitizensNPC.java:160)
      6 frames
    3. net.citizensnpcs.commands
      NPCCommands.type
      1. net.citizensnpcs.commands.NPCCommands.type(NPCCommands.java:1847)
      1 frame