FancyDrop damage determination error
The new version of MM calculates drops based on damage when Use_Vanilla_Damaging: false Unable to work. The following error will appear. I tested both using the original item (not gun,like diamond sword ) and turning it true to use the original damage mechanism (gun) , and everything worked normally.
[10:11:07 ERROR]: [MythicMobs] [EVENTS] Exception thrown whilst handling event: org.bukkit.event.entity.EntityDeathEvent [10:11:07 WARN]: java.lang.NullPointerException: Cannot invoke "io.lumine.mythic.core.mobs.tracker.DamageRecord.getPlace(java.util.UUID)" because the return value of "io.lumine.mythic.core.mobs.tracker.DamageRecordManager.getRecord(java.util.UUID)" is null [10:11:07 WARN]: at MythicMobs-5.6.1.jar//io.lumine.mythic.core.drops.DropExecutor.handleFancyDrops(DropExecutor.java:417) [10:11:07 WARN]: at MythicMobs-5.6.1.jar//io.lumine.mythic.core.drops.DropExecutor.handleEntityLootDrops(DropExecutor.java:308) [10:11:07 WARN]: at MythicMobs-5.6.1.jar//io.lumine.mythic.bukkit.adapters.BukkitSkillTriggers.onDeathTrigger(BukkitSkillTriggers.java:589) [10:11:07 WARN]: at MythicMobs-5.6.1.jar//io.lumine.mythic.bukkit.utils.Delegates$ConsumerToBiConsumerSecond.accept(Delegates.java:144) [10:11:07 WARN]: at MythicMobs-5.6.1.jar//io.lumine.mythic.bukkit.utils.events.functional.single.EventListener.execute(EventListener.java:131) [10:11:07 WARN]: at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:81) [10:11:07 WARN]: at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) [10:11:07 WARN]: at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:54) [10:11:07 WARN]: at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:126) [10:11:07 WARN]: at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:615) [10:11:07 WARN]: at org.bukkit.craftbukkit.v1_19_R3.event.CraftEventFactory.callEntityDeathEvent(CraftEventFactory.java:897) [10:11:07 WARN]: at net.minecraft.world.entity.EntityLiving.dropAllDeathLoot(EntityLiving.java:1756) [10:11:07 WARN]: at net.minecraft.world.entity.EntityLiving.a(EntityLiving.java:1653) [10:11:07 WARN]: at org.bukkit.craftbukkit.v1_19_R3.entity.CraftLivingEntity.setHealth(CraftLivingEntity.java:124) [10:11:07 WARN]: at WeaponMechanics-3.2.10.jar//me.deecaad.weaponmechanics.weapon.damage.DamageUtil.apply(DamageUtil.java:171) [10:11:07 WARN]: at WeaponMechanics-3.2.10.jar//me.deecaad.weaponmechanics.weapon.damage.DamageHandler.tryUse(DamageHandler.java:117) [10:11:07 WARN]: at WeaponMechanics-3.2.10.jar//me.deecaad.weaponmechanics.weapon.damage.DamageHandler.tryUse(DamageHandler.java:51) [10:11:07 WARN]: at WeaponMechanics-3.2.10.jar//me.deecaad.weaponmechanics.weapon.damage.DamageHandler.tryUse(DamageHandler.java:45) [10:11:07 WARN]: at WeaponMechanics-3.2.10.jar//me.deecaad.weaponmechanics.weapon.HitHandler.handleEntityHit(HitHandler.java:139) [10:11:07 WARN]: at WeaponMechanics-3.2.10.jar//me.deecaad.weaponmechanics.weapon.HitHandler.handleHit(HitHandler.java:57) [10:11:07 WARN]: at WeaponMechanics-3.2.10.jar//me.deecaad.weaponmechanics.weapon.projectile.weaponprojectile.WeaponProjectile.updatePosition(WeaponProjectile.java:400) [10:11:07 WARN]: at WeaponMechanics-3.2.10.jar//me.deecaad.weaponmechanics.weapon.projectile.AProjectile.tick(AProjectile.java:354) [10:11:07 WARN]: at WeaponMechanics-3.2.10.jar//me.deecaad.weaponmechanics.weapon.projectile.ProjectilesRunnable.tickOnAdd(ProjectilesRunnable.java:100) [10:11:07 WARN]: at WeaponMechanics-3.2.10.jar//me.deecaad.weaponmechanics.weapon.projectile.ProjectilesRunnable.addProjectile(ProjectilesRunnable.java:68) [10:11:07 WARN]: at WeaponMechanics-3.2.10.jar//me.deecaad.weaponmechanics.weapon.projectile.weaponprojectile.Projectile.shoot(Projectile.java:104) [10:11:07 WARN]: at WeaponMechanics-3.2.10.jar//me.deecaad.weaponmechanics.weapon.shoot.ShootHandler.shoot(ShootHandler.java:590) [10:11:07 WARN]: at WeaponMechanics-3.2.10.jar//me.deecaad.weaponmechanics.weapon.shoot.FullAutoTask.run(FullAutoTask.java:206) [10:11:07 WARN]: at org.bukkit.craftbukkit.v1_19_R3.scheduler.CraftTask.run(CraftTask.java:101) [10:11:07 WARN]: at org.bukkit.craftbukkit.v1_19_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:483) [10:11:07 WARN]: at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1483) [10:11:07 WARN]: at net.minecraft.server.dedicated.DedicatedServer.b(DedicatedServer.java:447) [10:11:07 WARN]: at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:1397) [10:11:07 WARN]: at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:1174) [10:11:07 WARN]: at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:320) [10:11:07 WARN]: at java.base/java.lang.Thread.run(Thread.java:1583)