After using an item with stats settings to attack an entity, you can no longer attack the entity wit
I have tested it many times. The server version has been updated from purpur1.20.6 to purpur1.21, and the protocol library has also been updated.
[09:18:40 INFO]: MagicMakes issued server command: /mm menu [09:18:46 WARN]: [MythicMobs] ItemFlag 'HIDE_POTION_EFFECTS' does not exist in >=1.20.5. [09:18:58 INFO]: MagicMakes issued server command: /mm menu [09:19:03 ERROR]: [MythicMobs] [EVENTS] Exception thrown whilst handling event: io.lumine.mythic.bukkit.events.MythicStatChangeEvent [09:19:03 WARN]: java.lang.NullPointerException: Cannot invoke "org.bukkit.attribute.AttributeInstance.setBaseValue(double)" because the ret urn value of "org.bukkit.entity.LivingEntity.getAttribute(org.bukkit.attribute.Attribute)" is null [09:19:03 WARN]: at MythicMobs-5.7.0-SNAPSHOT-Build 5132.jar//io.lumine.mythic.bukkit.adapters.BukkitEntity.setAttackSpeed(BukkitEnti ty.java:828) [09:19:03 WARN]: at MythicMobs-5.7.0-SNAPSHOT-Build 5132.jar//io.lumine.mythic.core.skills.stats.types.VanillaAttackSpeedStat.lambda$ load$1(VanillaAttackSpeedStat.java:22) [09:19:03 WARN]: at MythicMobs-5.7.0-SNAPSHOT-Build 5132.jar//io.lumine.mythic.bukkit.utils.Delegates$ConsumerToBiConsumerSecond.acce pt(Delegates.java:144) [09:19:03 WARN]: at MythicMobs-5.7.0-SNAPSHOT-Build 5132.jar//io.lumine.mythic.bukkit.utils.events.functional.single.EventListener.ex ecute(EventListener.java:131) [09:19:03 WARN]: at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:77) [09:19:03 WARN]: at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) [09:19:03 WARN]: at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:54) [09:19:03 WARN]: at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:131) [09:19:03 WARN]: at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:628) [09:19:03 WARN]: at MythicMobs-5.7.0-SNAPSHOT-Build 5132.jar//io.lumine.mythic.bukkit.utils.Events.call(Events.java:103) [09:19:03 WARN]: at MythicMobs-5.7.0-SNAPSHOT-Build 5132.jar//io.lumine.mythic.core.skills.stats.StatRegistry$StatMap.calculateCached Value(StatRegistry.java:252) [09:19:03 WARN]: at MythicMobs-5.7.0-SNAPSHOT-Build 5132.jar//io.lumine.mythic.core.skills.stats.StatRegistry$StatMap.setBaseValue(St atRegistry.java:214) [09:19:03 WARN]: at MythicMobs-5.7.0-SNAPSHOT-Build 5132.jar//io.lumine.mythic.core.skills.stats.StatRegistry$StatMap.(StatRegi stry.java:209) [09:19:03 WARN]: at MythicMobs-5.7.0-SNAPSHOT-Build 5132.jar//io.lumine.mythic.core.skills.stats.StatRegistry.compute(StatRegistry.ja va:48) [09:19:03 WARN]: at MythicMobs-5.7.0-SNAPSHOT-Build 5132.jar//io.lumine.mythic.core.skills.stats.StatRegistry.(StatRegistry.jav a:41) [09:19:03 WARN]: at MythicMobs-5.7.0-SNAPSHOT-Build 5132.jar//io.lumine.mythic.core.mobs.ActiveMob.(ActiveMob.java:137) [09:19:03 WARN]: at MythicMobs-5.7.0-SNAPSHOT-Build 5132.jar//io.lumine.mythic.core.mobs.MobType.spawn(MobType.java:965) [09:19:03 WARN]: at MythicMobs-5.7.0-SNAPSHOT-Build 5132.jar//io.lumine.mythic.core.mobs.MobType.spawn(MobType.java:912) [09:19:03 WARN]: at MythicMobs-5.7.0-SNAPSHOT-Build 5132.jar//io.lumine.mythic.core.mobs.MobType.spawn(MobType.java:899) [09:19:03 WARN]: at MythicMobs-5.7.0-SNAPSHOT-Build 5132.jar//io.lumine.mythic.core.mobs.MobType.spawn(MobType.java:887) [09:19:03 WARN]: at MythicMobs-5.7.0-SNAPSHOT-Build 5132.jar//io.lumine.mythic.bukkit.listeners.EggListeners.onEggInteract(EggListene rs.java:80) [09:19:03 WARN]: at MythicMobs-5.7.0-SNAPSHOT-Build 5132.jar//io.lumine.mythic.bukkit.utils.Delegates$ConsumerToBiConsumerSecond.acce pt(Delegates.java:144) [09:19:03 WARN]: at MythicMobs-5.7.0-SNAPSHOT-Build 5132.jar//io.lumine.mythic.bukkit.utils.events.functional.single.EventListener.ex ecute(EventListener.java:131) [09:19:03 WARN]: at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:77) [09:19:03 WARN]: at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) [09:19:03 WARN]: at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:54) [09:19:03 WARN]: at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:131) [09:19:03 WARN]: at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:628) [09:19:03 WARN]: at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:593) [09:19:03 WARN]: at net.minecraft.server.level.ServerPlayerGameMode.useItemOn(ServerPlayerGameMode.java:533) [09:19:03 WARN]: at net.minecraft.server.network.ServerGamePacketListenerImpl.handleUseItemOn(ServerGamePacketListenerImpl.java:2010) [09:19:03 WARN]: at net.minecraft.network.protocol.game.ServerboundUseItemOnPacket.handle(ServerboundUseItemOnPacket.java:44) [09:19:03 WARN]: at net.minecraft.network.protocol.game.ServerboundUseItemOnPacket.handle(ServerboundUseItemOnPacket.java:11) [09:19:03 WARN]: at net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$0(PacketUtils.java:55) [09:19:03 WARN]: at net.minecraft.server.TickTask.run(TickTask.java:18) [09:19:03 WARN]: at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:151) [09:19:03 WARN]: at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24) [09:19:03 WARN]: at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1546) [09:19:03 WARN]: at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:195) [09:19:03 WARN]: at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:125) [09:19:03 WARN]: at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1523) [09:19:03 WARN]: at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1446) [09:19:03 WARN]: at net.minecraft.util.thread.BlockableEventLoop.runAllTasks(BlockableEventLoop.java:114) [09:19:03 WARN]: at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1638) [09:19:03 WARN]: at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1260) [09:19:03 WARN]: at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:326) [09:19:03 WARN]: at java.base/java.lang.Thread.run(Thread.java:1583)