Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Entities hit by a projectile from a block will cause an error #56

Open
Nutty101 opened this issue Nov 6, 2020 · 0 comments
Open

Entities hit by a projectile from a block will cause an error #56

Nutty101 opened this issue Nov 6, 2020 · 0 comments
Labels

Comments

@Nutty101
Copy link
Owner

Nutty101 commented Nov 6, 2020

reported by RavanelloMarrone on spigot.

Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.v1_16_R3.projectiles.CraftBlockProjectileSource cannot be cast to org.bukkit.entity.Entity
at net.livecar.nuttyworks.npc_police.listeners.DamageListener.customEntityDamageByEntity(DamageListener.java:63) ~[?:?]
at net.livecar.nuttyworks.npc_police.listeners.DamageListener.onEntityDamageByEntity(DamageListener.java:37) ~[?:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_261]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_261]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_261]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_261]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:315) ~[spigot-1.16.4.jar:git-Spigot-37d799b-3eb7236]

@Nutty101 Nutty101 added the bug label Nov 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant