Bug Closed · Invalid

[bug] armor, and equipment on mobs dont work

#5358 opened by Unknown 1 year ago

Unknownreported this bug

Summary

in my mob configs on mythicmobs, I therefore equipped my mobs with armor and itemsadder sword, but when it spawns, no armor or sword, just like any item. this doesn't work with itemadder armor or vanilla armor

my config [Legacy attachment omitted]

Steps to reproduce

equip mobs with armor on a mob's config in Equipment

Current behavior

mobs equipped with armor in the configs no longer have armor, swords, or any equipment

Intended correct behavior

mobs should have their equipment

Server log file

[Legacy attachment omitted]

Debug log snippet

[17:56:21 INFO]: whitec4d issued server command: /mm mobs spawn D2_déchu5 [17:56:21 ERROR]: [MythicMobs] [SCHEDULER] Exception thrown whilst executing task [17:56:21 WARN]: java.lang.InstantiationError: io.lumine.mythic.bukkit.adapters.BukkitItemStack [17:56:21 WARN]: at ItemsAdder-4.0.2_beta_release_10.jar//dev.lone.itemsadder.Core.OtherPlugins.MythicMobs.drops.CustomItemDrop.getDrop(SourceFile:28) [17:56:21 WARN]: at MythicMobs-5.7.1.jar//io.lumine.mythic.core.drops.LootBag.equip(LootBag.java:239) [17:56:21 WARN]: at MythicMobs-5.7.1.jar//io.lumine.mythic.core.mobs.MobType.lambda$applyMobOptions$5(MobType.java:1150) [17:56:21 WARN]: at MythicMobs-5.7.1.jar//io.lumine.mythic.bukkit.utils.Delegates$RunnableToSupplier.get(Delegates.java:121) [17:56:21 WARN]: at MythicMobs-5.7.1.jar//io.lumine.mythic.bukkit.utils.promise.LuminePromise$SupplyRunnable.run(LuminePromise.java:654) [17:56:21 WARN]: at MythicMobs-5.7.1.jar//io.lumine.mythic.bukkit.utils.tasks.LumineExecutors$SchedulerWrappedRunnable.run(LumineExecutors.java:70) [17:56:21 WARN]: at org.bukkit.craftbukkit.scheduler.CraftTask.run(CraftTask.java:86) [17:56:21 WARN]: at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:475) [17:56:21 WARN]: at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1740) [17:56:21 WARN]: at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:489) [17:56:21 WARN]: at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1612) [17:56:21 WARN]: at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1312) [17:56:21 WARN]: at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:335) [17:56:21 WARN]: at java.base/java.lang.Thread.run(Thread.java:1583)

Proposed fixes

This could be due to a version change? 1.20.4 to 1.21.1

Unknowncommented

this is a bug with ItemsAdder

Unknowncommented

This dont works with vanilla item,

Unknowncommented

Attaching equipment doesn't work with vanilla items, I doubt it's from the item adder.

Sign in to join the discussion.