Electric Chestplate errors when shoot player with some projectiles.
[18:09:01] [Server thread/ERROR]: Could not pass event EntityDamageByEntityEvent to LiteXpansion vDEV - 98 (git f79eab2f)
java.lang.IllegalArgumentException: Charge must be above zero!
at org.apache.commons.lang.Validate.isTrue(Validate.java:136) ~[patched_1.16.4.jar:git-Yatopia-"a47bfa7"]
at io.github.thebusybiscuit.slimefun4.core.attributes.Rechargeable.removeItemCharge(Rechargeable.java:129) ~[?:?]
at dev.j3fftw.litexpansion.Events.onPlayerDamage(Events.java:54) ~[?:?]
at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor207.execute(Unknown Source) ~[?:?]
at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:69) ~[patched_1.16.4.jar:git-Yatopia-"a47bfa7"]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[patched_1.16.4.jar:git-Yatopia-"a47bfa7"]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[patched_1.16.4.jar:git-Yatopia-"a47bfa7"]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:607) ~[patched_1.16.4.jar:git-Yatopia-"a47bfa7"]
at org.bukkit.craftbukkit.v1_16_R3.event.CraftEventFactory.callEvent(CraftEventFactory.java:252) ~[patched_1.16.4.jar:git-Yatopia-"a47bfa7"]
at org.bukkit.craftbukkit.v1_16_R3.event.CraftEventFactory.callEntityDamageEvent(CraftEventFactory.java:1042) ~[patched_1.16.4.jar:git-Yatopia-"a47bfa7"]
at org.bukkit.craftbukkit.v1_16_R3.event.CraftEventFactory.handleEntityDamageEvent(CraftEventFactory.java:929) ~[patched_1.16.4.jar:git-Yatopia-"a47bfa7"]
at org.bukkit.craftbukkit.v1_16_R3.event.CraftEventFactory.handleEntityDamageEvent(CraftEventFactory.java:885) ~[patched_1.16.4.jar:git-Yatopia-"a47bfa7"]
at org.bukkit.craftbukkit.v1_16_R3.event.CraftEventFactory.handleLivingEntityDamageEvent(CraftEventFactory.java:1074) ~[patched_1.16.4.jar:git-Yatopia-"a47bfa7"]
at net.minecraft.server.v1_16_R3.EntityLiving.damageEntity0(EntityLiving.java:1830) ~[patched_1.16.4.jar:git-Yatopia-"a47bfa7"]
at net.minecraft.server.v1_16_R3.EntityHuman.damageEntity0(EntityHuman.java:850) ~[patched_1.16.4.jar:git-Yatopia-"a47bfa7"]
at net.minecraft.server.v1_16_R3.EntityLiving.damageEntity(EntityLiving.java:1165) ~[patched_1.16.4.jar:git-Yatopia-"a47bfa7"]
at net.minecraft.server.v1_16_R3.EntityHuman.damageEntity(EntityHuman.java:767) ~[patched_1.16.4.jar:git-Yatopia-"a47bfa7"]
at net.minecraft.server.v1_16_R3.EntityPlayer.damageEntity(EntityPlayer.java:843) ~[patched_1.16.4.jar:git-Yatopia-"a47bfa7"]
at net.minecraft.server.v1_16_R3.EntitySnowball.a(EntitySnowball.java:34) ~[patched_1.16.4.jar:git-Yatopia-"a47bfa7"]
at net.minecraft.server.v1_16_R3.IProjectile.a(IProjectile.java:150) ~[patched_1.16.4.jar:git-Yatopia-"a47bfa7"]
at net.minecraft.server.v1_16_R3.EntitySnowball.a(EntitySnowball.java:39) ~[patched_1.16.4.jar:git-Yatopia-"a47bfa7"]
at net.minecraft.server.v1_16_R3.EntityProjectile.tick(EntityProjectile.java:53) ~[patched_1.16.4.jar:git-Yatopia-"a47bfa7"]
at net.minecraft.server.v1_16_R3.WorldServer.entityJoinedWorld(WorldServer.java:1424) ~[patched_1.16.4.jar:git-Yatopia-"a47bfa7"]
at net.minecraft.server.v1_16_R3.World.a(World.java:931) ~[patched_1.16.4.jar:git-Yatopia-"a47bfa7"]
at net.minecraft.server.v1_16_R3.WorldServer.doTick(WorldServer.java:1089) ~[patched_1.16.4.jar:git-Yatopia-"a47bfa7"]
at net.minecraft.server.v1_16_R3.MinecraftServer.b(MinecraftServer.java:1434) ~[patched_1.16.4.jar:git-Yatopia-"a47bfa7"]
at net.minecraft.server.v1_16_R3.DedicatedServer.b(DedicatedServer.java:397) ~[patched_1.16.4.jar:git-Yatopia-"a47bfa7"]
at net.minecraft.server.v1_16_R3.MinecraftServer.a(MinecraftServer.java:1282) ~[patched_1.16.4.jar:git-Yatopia-"a47bfa7"]
at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:1013) ~[patched_1.16.4.jar:git-Yatopia-"a47bfa7"]
at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:179) ~[patched_1.16.4.jar:git-Yatopia-"a47bfa7"]
at java.lang.Thread.run(Thread.java:834) [?:?]
Steps to reproduce the Issue (REQUIRED)
If a player throws a player wearing an electric chestplate with an egg or snowball or enderpearl the plugin writes this errors.
Expected behavior (REQUIRED)
Electric Chestplate no writes errors when shoot player with some projectiles
Server Log
Environment (REQUIRED)
[18:22:31 INFO]: This Server uses the following setup of Slimefun:
[18:22:31 INFO]: Yatopia v1_16_R3
[18:22:31 INFO]: CS-CoreLib vDEV - 91 (git e42a05d1)
[18:22:31 INFO]: Slimefun vDEV - 757 (git 77f4373b)
[18:22:31 INFO]: Metrics build: #17
[18:22:31 INFO]:
[18:22:31 INFO]: Installed Addons: (1)
[18:22:31 INFO]: LiteXpansion vDEV - 98 (git f79eab2f)
Description (REQUIRED)
Electric Chestplate errors when shoot player with some projectiles.
Steps to reproduce the Issue (REQUIRED)
If a player throws a player wearing an electric chestplate with an egg or snowball or enderpearl the plugin writes this errors.
Expected behavior (REQUIRED)
Electric Chestplate no writes errors when shoot player with some projectiles
Server Log
Environment (REQUIRED)
[18:22:31 INFO]: This Server uses the following setup of Slimefun: [18:22:31 INFO]: Yatopia v1_16_R3 [18:22:31 INFO]: CS-CoreLib vDEV - 91 (git e42a05d1) [18:22:31 INFO]: Slimefun vDEV - 757 (git 77f4373b) [18:22:31 INFO]: Metrics build: #17 [18:22:31 INFO]: [18:22:31 INFO]: Installed Addons: (1) [18:22:31 INFO]: LiteXpansion vDEV - 98 (git f79eab2f)