zEssentials icon indicating copy to clipboard operation
zEssentials copied to clipboard

[Error] PlayerDeathEvent

Open Comquister opened this issue 8 months ago • 0 comments

Terms

  • [x] I'm using the very latest version of zEssentials and its dependencies (zMenu and PlaceholdersAPI).
  • [x] I am sure this is a bug and it is not caused by a misconfiguration or by another plugin.
  • [x] I've looked for already existing issues on the Issue Tracker and haven't found any.
  • [x] I already searched on the plugin wiki to know if a solution is already known.
  • [x] I already searched on the discord to check if anyone already has a solution for this.
  • [x] I tested this with just zEssentials and its dependencies and with a vanilla client of the same version as the Server.
  • [x] I enabled the debug mode in config.yml and sql debug

Discord Username (optional)

No response

Server Version

1.21.4

Server Software

Folia 1.21.4

zEssentials Version

1.0.2.1

zMenu Version

1.0.3.8

What happened?

¯_(ツ)_/¯

Steps to reproduce the issue

Die

Full Server Log

https://api.mclo.gs/1/raw/ZvIYhKp

Error (optional)

[19:01:43 ERROR]: Could not pass event PlayerDeathEvent to zEssentials v1.0.2.1
java.lang.IllegalArgumentException: Keys and replacement values must not be null.
        at zEssentials-1.0.2.1.jar/fr.maxlego08.essentials.zutils.utils.MessageUtils.getString(MessageUtils.java:36) ~[zEssentials-1.0.2.1.jar:?]
        at zEssentials-1.0.2.1.jar/fr.maxlego08.essentials.zutils.utils.MessageUtils.getMessage(MessageUtils.java:121) ~[zEssentials-1.0.2.1.jar:?]
        at zEssentials-1.0.2.1.jar/fr.maxlego08.essentials.zutils.utils.MessageUtils.lambda$sendTchatMessage$6(MessageUtils.java:108) ~[zEssentials-1.0.2.1.jar:?]
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1597) ~[?:?]
        at zEssentials-1.0.2.1.jar/fr.maxlego08.essentials.zutils.utils.MessageUtils.sendTchatMessage(MessageUtils.java:108) ~[zEssentials-1.0.2.1.jar:?]
        at zEssentials-1.0.2.1.jar/fr.maxlego08.essentials.zutils.utils.MessageUtils.lambda$message$4(MessageUtils.java:79) ~[zEssentials-1.0.2.1.jar:?]
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1597) ~[?:?]
        at zEssentials-1.0.2.1.jar/fr.maxlego08.essentials.zutils.utils.MessageUtils.message(MessageUtils.java:74) ~[zEssentials-1.0.2.1.jar:?]
        at zEssentials-1.0.2.1.jar/fr.maxlego08.essentials.module.modules.SpawnModule.onPlayerDeath(SpawnModule.java:97) ~[zEssentials-1.0.2.1.jar:?]
        at zEssentials-1.0.2.1.jar/fr.maxlego08.essentials.module.modules.SpawnModule.lambda$loadConfiguration$2(SpawnModule.java:61) ~[zEssentials-1.0.2.1.jar:?]
        at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[folia-api-1.21.4-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[folia-api-1.21.4-R0.1-SNAPSHOT.jar:?]
        at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:54) ~[folia-1.21.4.jar:1.21.4-DEV-8af1aef]
        at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:131) ~[folia-1.21.4.jar:1.21.4-DEV-8af1aef]
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:628) ~[folia-api-1.21.4-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerDeathEvent(CraftEventFactory.java:1028) ~[folia-1.21.4.jar:1.21.4-DEV-8af1aef]
        at net.minecraft.server.level.ServerPlayer.die(ServerPlayer.java:1449) ~[folia-1.21.4.jar:1.21.4-DEV-8af1aef]
        at net.minecraft.world.entity.LivingEntity.hurtServer(LivingEntity.java:1607) ~[folia-1.21.4.jar:1.21.4-DEV-8af1aef]
        at net.minecraft.world.entity.player.Player.hurtServer(Player.java:960) ~[folia-1.21.4.jar:1.21.4-DEV-8af1aef]
        at net.minecraft.server.level.ServerPlayer.hurtServer(ServerPlayer.java:1612) ~[folia-1.21.4.jar:1.21.4-DEV-8af1aef]
        at net.minecraft.world.entity.Mob.doHurtTarget(Mob.java:1731) ~[folia-1.21.4.jar:1.21.4-DEV-8af1aef]
        at net.minecraft.world.entity.monster.Zombie.doHurtTarget(Zombie.java:390) ~[folia-1.21.4.jar:1.21.4-DEV-8af1aef]
        at net.minecraft.world.entity.ai.goal.MeleeAttackGoal.checkAndPerformAttack(MeleeAttackGoal.java:130) ~[folia-1.21.4.jar:1.21.4-DEV-8af1aef]
        at net.minecraft.world.entity.ai.goal.MeleeAttackGoal.tick(MeleeAttackGoal.java:122) ~[folia-1.21.4.jar:1.21.4-DEV-8af1aef]
        at net.minecraft.world.entity.ai.goal.ZombieAttackGoal.tick(ZombieAttackGoal.java:28) ~[folia-1.21.4.jar:1.21.4-DEV-8af1aef]
        at net.minecraft.world.entity.ai.goal.WrappedGoal.tick(WrappedGoal.java:63) ~[folia-1.21.4.jar:1.21.4-DEV-8af1aef]
        at net.minecraft.world.entity.ai.goal.GoalSelector.tickRunningGoals(GoalSelector.java:126) ~[folia-1.21.4.jar:1.21.4-DEV-8af1aef]
        at net.minecraft.world.entity.ai.goal.GoalSelector.tick(GoalSelector.java:117) ~[folia-1.21.4.jar:1.21.4-DEV-8af1aef]
        at net.minecraft.world.entity.Mob.serverAiStep(Mob.java:952) ~[folia-1.21.4.jar:1.21.4-DEV-8af1aef]
        at net.minecraft.world.entity.LivingEntity.aiStep(LivingEntity.java:3627) ~[folia-1.21.4.jar:1.21.4-DEV-8af1aef]
        at net.minecraft.world.entity.Mob.aiStep(Mob.java:694) ~[folia-1.21.4.jar:1.21.4-DEV-8af1aef]
        at net.minecraft.world.entity.monster.Monster.aiStep(Monster.java:45) ~[folia-1.21.4.jar:1.21.4-DEV-8af1aef]
        at net.minecraft.world.entity.monster.Zombie.aiStep(Zombie.java:268) ~[folia-1.21.4.jar:1.21.4-DEV-8af1aef]
        at net.minecraft.world.entity.LivingEntity.tick(LivingEntity.java:3336) ~[folia-1.21.4.jar:1.21.4-DEV-8af1aef]
        at net.minecraft.world.entity.Mob.tick(Mob.java:451) ~[folia-1.21.4.jar:1.21.4-DEV-8af1aef]
        at net.minecraft.world.entity.monster.Zombie.tick(Zombie.java:236) ~[folia-1.21.4.jar:1.21.4-DEV-8af1aef]
        at net.minecraft.server.level.ServerLevel.tickNonPassenger(ServerLevel.java:1378) ~[folia-1.21.4.jar:1.21.4-DEV-8af1aef]
        at net.minecraft.world.level.Level.guardEntityTick(Level.java:1539) ~[folia-1.21.4.jar:1.21.4-DEV-8af1aef]
        at net.minecraft.server.level.ServerLevel.lambda$tick$4(ServerLevel.java:836) ~[folia-1.21.4.jar:1.21.4-DEV-8af1aef]
        at io.papermc.paper.threadedregions.RegionizedWorldData.forEachTickingEntity(RegionizedWorldData.java:600) ~[folia-1.21.4.jar:1.21.4-DEV-8af1aef]
        at net.minecraft.server.level.ServerLevel.tick(ServerLevel.java:817) ~[folia-1.21.4.jar:1.21.4-DEV-8af1aef]
        at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1982) ~[folia-1.21.4.jar:1.21.4-DEV-8af1aef]
        at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1804) ~[folia-1.21.4.jar:1.21.4-DEV-8af1aef]
        at io.papermc.paper.threadedregions.TickRegions$ConcreteRegionTickHandle.tickRegion(TickRegions.java:407) ~[folia-1.21.4.jar:1.21.4-DEV-8af1aef]
        at io.papermc.paper.threadedregions.TickRegionScheduler$RegionScheduleHandle.runTick(TickRegionScheduler.java:418) ~[folia-1.21.4.jar:1.21.4-DEV-8af1aef]
        at ca.spottedleaf.concurrentutil.scheduler.SchedulerThreadPool$TickThreadRunner.run(SchedulerThreadPool.java:546) ~[concurrentutil-0.0.2.jar:?]
        at java.base/java.lang.Thread.run(Thread.java:1570) ~[?:?]

Other files, you can drag and drop them here to upload. (optional)

No response

Screenshots/Videos (you can drag and drop files or paste links)

No response

Comquister avatar Apr 06 '25 22:04 Comquister