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

error #1211

Closed
arts7493 opened this issue Feb 29, 2020 · 1 comment
Closed

error #1211

arts7493 opened this issue Feb 29, 2020 · 1 comment
Assignees
Labels
Status: Done This issue has been completed or answered. This pull request has been merged. Type: Bug
Milestone

Comments

@arts7493
Copy link

arts7493 commented Feb 29, 2020

last version

[22:54:18] [Server thread/ERROR]: Could not pass event EntityDamageByEntityEvent to BentoBox v1.11.1
java.lang.ClassCastException: org.bukkit.craftbukkit.v1_15_R1.projectiles.CraftBlockProjectileSource cannot be cast to org.bukkit.entity.Entity
	at world.bentobox.bentobox.listeners.flags.settings.PVPListener.respond(PVPListener.java:89) ~[?:?]
	at world.bentobox.bentobox.listeners.flags.settings.PVPListener.onEntityDamage(PVPListener.java:67) ~[?:?]
	at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor119.execute(Unknown Source) ~[?:?]
	at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:69) ~[patched_1.15.2.jar:git-Paper-121]
	at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:76) ~[patched_1.15.2.jar:git-Paper-121]
	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[patched_1.15.2.jar:git-Paper-121]
	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:559) ~[patched_1.15.2.jar:git-Paper-121]
	at org.bukkit.craftbukkit.v1_15_R1.event.CraftEventFactory.callEvent(CraftEventFactory.java:232) ~[patched_1.15.2.jar:git-Paper-121]
	at org.bukkit.craftbukkit.v1_15_R1.event.CraftEventFactory.callEntityDamageEvent(CraftEventFactory.java:994) ~[patched_1.15.2.jar:git-Paper-121]
	at org.bukkit.craftbukkit.v1_15_R1.event.CraftEventFactory.handleEntityDamageEvent(CraftEventFactory.java:881) ~[patched_1.15.2.jar:git-Paper-121]
	at org.bukkit.craftbukkit.v1_15_R1.event.CraftEventFactory.handleEntityDamageEvent(CraftEventFactory.java:837) ~[patched_1.15.2.jar:git-Paper-121]
	at org.bukkit.craftbukkit.v1_15_R1.event.CraftEventFactory.handleLivingEntityDamageEvent(CraftEventFactory.java:1026) ~[patched_1.15.2.jar:git-Paper-121]
	at net.minecraft.server.v1_15_R1.EntityLiving.damageEntity0(EntityLiving.java:1691) ~[patched_1.15.2.jar:git-Paper-121]
	at net.minecraft.server.v1_15_R1.EntityHuman.damageEntity0(EntityHuman.java:878) ~[patched_1.15.2.jar:git-Paper-121]
	at net.minecraft.server.v1_15_R1.EntityLiving.damageEntity(EntityLiving.java:1049) ~[patched_1.15.2.jar:git-Paper-121]
	at net.minecraft.server.v1_15_R1.EntityHuman.damageEntity(EntityHuman.java:801) ~[patched_1.15.2.jar:git-Paper-121]
	at net.minecraft.server.v1_15_R1.EntityPlayer.damageEntity(EntityPlayer.java:746) ~[patched_1.15.2.jar:git-Paper-121]
	at net.minecraft.server.v1_15_R1.EntityArrow.a(EntityArrow.java:378) ~[patched_1.15.2.jar:git-Paper-121]
	at net.minecraft.server.v1_15_R1.EntityArrow.a(EntityArrow.java:291) ~[patched_1.15.2.jar:git-Paper-121]
	at net.minecraft.server.v1_15_R1.EntityArrow.tick(EntityArrow.java:202) ~[patched_1.15.2.jar:git-Paper-121]
	at net.minecraft.server.v1_15_R1.EntityTippedArrow.tick(EntityTippedArrow.java:92) ~[patched_1.15.2.jar:git-Paper-121]
	at net.minecraft.server.v1_15_R1.WorldServer.entityJoinedWorld(WorldServer.java:759) ~[patched_1.15.2.jar:git-Paper-121]
	at net.minecraft.server.v1_15_R1.World.a(World.java:858) ~[patched_1.15.2.jar:git-Paper-121]
	at net.minecraft.server.v1_15_R1.WorldServer.doTick(WorldServer.java:497) ~[patched_1.15.2.jar:git-Paper-121]
	at net.minecraft.server.v1_15_R1.MinecraftServer.b(MinecraftServer.java:1245) ~[patched_1.15.2.jar:git-Paper-121]
	at net.minecraft.server.v1_15_R1.DedicatedServer.b(DedicatedServer.java:430) ~[patched_1.15.2.jar:git-Paper-121]
	at net.minecraft.server.v1_15_R1.MinecraftServer.a(MinecraftServer.java:1112) ~[patched_1.15.2.jar:git-Paper-121]
	at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:934) ~[patched_1.15.2.jar:git-Paper-121]
	at java.lang.Thread.run(Unknown Source) [?:1.8.0_241]
@tastybento tastybento self-assigned this Feb 29, 2020
@tastybento tastybento added Status: Under investigation Investigating the interest and the feasability of the issue. Type: Bug Status: In progress Working on the issue. and removed Status: Under investigation Investigating the interest and the feasability of the issue. labels Feb 29, 2020
@tastybento tastybento added Status: Done This issue has been completed or answered. This pull request has been merged. and removed Status: In progress Working on the issue. labels Feb 29, 2020
@tastybento
Copy link
Member

Thanks. This was caused by damage coming from a projectile fired by a block, e.g. a dispenser.

@Poslovitch Poslovitch added this to the 1.12.0 milestone Feb 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Done This issue has been completed or answered. This pull request has been merged. Type: Bug
Projects
None yet
Development

No branches or pull requests

3 participants