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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by Cutiemango
, 1 year ago
net.citizensnpcs.npc.entity.nonliving.ShulkerBulletController$ShulkerBulletNPC cannot be cast to org.bukkit.entity.Arrow
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(ShulkerBulletController.java:27)
at net.citizensnpcs.npc.entity.nonliving.ShulkerBulletController.getBukkitEntity(ShulkerBulletController.java:20)
at net.citizensnpcs.npc.CitizensNPC.getEntity(CitizensNPC.java:115)
at net.citizensnpcs.npc.CitizensNPC.spawn(CitizensNPC.java:197)
at net.citizensnpcs.npc.CitizensNPC.setEntityController(CitizensNPC.java:173)
at net.citizensnpcs.npc.CitizensNPC.setBukkitEntityType(CitizensNPC.java:160)
at net.citizensnpcs.commands.NPCCommands.type(NPCCommands.java:1847)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.