Fixed PreventOtherDrops not affecting equipped items closes #1474 Cause error
[23:00:53 ERROR]: [MythicMobs] [SCHEDULER] Exception thrown whilst executing task [23:00:53 WARN]: java.lang.IllegalArgumentException: Cannot set drop chance for non-Mob entity [23:00:53 WARN]: at com.google.common.base.Preconditions.checkArgument(Preconditions.java:143) [23:00:53 WARN]: at org.bukkit.craftbukkit.v1_20_R3.inventory.CraftEntityEquipment.setDropChance(CraftEntityEquipment.java:260) [23:00:53 WARN]: at org.bukkit.craftbukkit.v1_20_R3.inventory.CraftEntityEquipment.setHelmetDropChance(CraftEntityEquipment.java:215) [23:00:53 WARN]: at MythicMobs-5.6.0.jar//io.lumine.mythic.core.mobs.MobType.lambda$applyMobOptions$5(MobType.java:1110) [23:00:53 WARN]: at MythicMobs-5.6.0.jar//io.lumine.mythic.bukkit.utils.Delegates$RunnableToSupplier.get(Delegates.java:121) [23:00:53 WARN]: at MythicMobs-5.6.0.jar//io.lumine.mythic.bukkit.utils.promise.LuminePromise$SupplyRunnable.run(LuminePromise.java:654) [23:00:53 WARN]: at MythicMobs-5.6.0.jar//io.lumine.mythic.bukkit.utils.tasks.LumineExecutors$SchedulerWrappedRunnable.run(LumineExecutors.java:70) [23:00:53 WARN]: at org.bukkit.craftbukkit.v1_20_R3.scheduler.CraftTask.run(CraftTask.java:101) [23:00:53 WARN]: at org.bukkit.craftbukkit.v1_20_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:482) [23:00:53 WARN]: at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1636) [23:00:53 WARN]: at net.minecraft.server.dedicated.DedicatedServer.b(DedicatedServer.java:447) [23:00:53 WARN]: at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:1515) [23:00:53 WARN]: at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:1216) [23:00:53 WARN]: at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319) [23:00:53 WARN]: at java.base/java.lang.Thread.run(Thread.java:840) [23:00:53 ERROR]: [MythicMobs] [SCHEDULER] Exception thrown whilst executing task [23:00:53 WARN]: java.lang.IllegalArgumentException: Cannot set drop chance for non-Mob entity [23:00:53 WARN]: at com.google.common.base.Preconditions.checkArgument(Preconditions.java:143) [23:00:53 WARN]: at org.bukkit.craftbukkit.v1_20_R3.inventory.CraftEntityEquipment.setDropChance(CraftEntityEquipment.java:260) [23:00:53 WARN]: at org.bukkit.craftbukkit.v1_20_R3.inventory.CraftEntityEquipment.setHelmetDropChance(CraftEntityEquipment.java:215) [23:00:53 WARN]: at MythicMobs-5.6.0.jar//io.lumine.mythic.core.mobs.MobType.lambda$applyMobOptions$5(MobType.java:1110) [23:00:53 WARN]: at MythicMobs-5.6.0.jar//io.lumine.mythic.bukkit.utils.Delegates$RunnableToSupplier.get(Delegates.java:121) [23:00:53 WARN]: at MythicMobs-5.6.0.jar//io.lumine.mythic.bukkit.utils.promise.LuminePromise$SupplyRunnable.run(LuminePromise.java:654) [23:00:53 WARN]: at MythicMobs-5.6.0.jar//io.lumine.mythic.bukkit.utils.tasks.LumineExecutors$SchedulerWrappedRunnable.run(LumineExecutors.java:70) [23:00:53 WARN]: at org.bukkit.craftbukkit.v1_20_R3.scheduler.CraftTask.run(CraftTask.java:101) [23:00:53 WARN]: at org.bukkit.craftbukkit.v1_20_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:482) [23:00:53 WARN]: at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1636) [23:00:53 WARN]: at net.minecraft.server.dedicated.DedicatedServer.b(DedicatedServer.java:447) [23:00:53 WARN]: at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:1515) [23:00:53 WARN]: at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:1216) [23:00:53 WARN]: at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319) [23:00:53 WARN]: at java.base/java.lang.Thread.run(Thread.java:840)