Arcatara 6b2bbfc4d0e04927b39b780a4e810dfb
게임버전 (JE) | 1.12.2 |
---|---|
게임버전 (BE) | 관련없음 |
이전에는 잘 작동하였던 미스틱몹 변장에 오류가 생겼습니다.
플레이어 이외의 엔티티 (좀비, 블럭 등등)의 변장은 오류 출력 없이 제대로 작동합니다.
[19:29:13 WARN]: [MythicMobs] Failed to process Disguise: player
[19:29:13 WARN]: java.lang.NullPointerException: Cannot invoke "String.equals(Object)" because "name" is null
[19:29:13 WARN]: at me.libraryaddict.disguise.disguisetypes.PlayerDisguise.setName(PlayerDisguise.java:299)
[19:29:13 WARN]: at me.libraryaddict.disguise.disguisetypes.FlagWatcher.setCustomName(FlagWatcher.java:587)
[19:29:13 WARN]: at io.lumine.xikage.mythicmobs.compatibility.LibsDisguisesSupport.getDisguise(LibsDisguisesSupport.java:881)
[19:29:13 WARN]: at io.lumine.xikage.mythicmobs.compatibility.LibsDisguisesSupport.setDisguise(LibsDisguisesSupport.java:86)
[19:29:13 WARN]: at io.lumine.xikage.mythicmobs.mobs.MythicMob.applyMobVolatileOptions(MythicMob.java:989)
[19:29:13 WARN]: at io.lumine.xikage.mythicmobs.mobs.MythicMob.spawn(MythicMob.java:744)
[19:29:13 WARN]: at io.lumine.xikage.mythicmobs.mobs.MobManager.spawnMob(MobManager.java:436)
[19:29:13 WARN]: at io.lumine.xikage.mythicmobs.mobs.MobManager.spawnMob(MobManager.java:425)
[19:29:13 WARN]: at io.lumine.xikage.mythicmobs.commands.mobs.SpawnCommand.onCommand(SpawnCommand.java:129)
[19:29:13 WARN]: at io.lumine.utils.commands.Command.onCommand(Command.java:69)
[19:29:13 WARN]: at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
[19:29:13 WARN]: at com.earth2me.essentials.Essentials.onCommandEssentials(Essentials.java:714)
[19:29:13 WARN]: at com.earth2me.essentials.Essentials.onCommand(Essentials.java:700)
[19:29:13 WARN]: at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
[19:29:13 WARN]: at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:152)
[19:29:13 WARN]: at org.bukkit.craftbukkit.v1_12_R1.CraftServer.dispatchCommand(CraftServer.java:685)
[19:29:13 WARN]: at net.minecraft.server.v1_12_R1.PlayerConnection.handleCommand(PlayerConnection.java:1492)
[19:29:13 WARN]: at net.minecraft.server.v1_12_R1.PlayerConnection.a(PlayerConnection.java:1297)
[19:29:13 WARN]: at net.minecraft.server.v1_12_R1.PacketPlayInChat.a(PacketPlayInChat.java:45)
[19:29:13 WARN]: at net.minecraft.server.v1_12_R1.PacketPlayInChat.a(PacketPlayInChat.java:5)
[19:29:13 WARN]: at net.minecraft.server.v1_12_R1.PlayerConnectionUtils.lambda$ensureMainThread$0(PlayerConnectionUtils.java:14)
[19:29:13 WARN]: at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
[19:29:13 WARN]: at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
[19:29:13 WARN]: at net.minecraft.server.v1_12_R1.SystemUtils.a(SourceFile:46)
[19:29:13 WARN]: at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:850)
[19:29:13 WARN]: at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:423)
[19:29:13 WARN]: at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:774)
[19:29:13 WARN]: at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:666)
[19:29:13 WARN]: at java.base/java.lang.Thread.run(Thread.java:833)
위의 오류 문장은 플레이어 변장이 적용된 몬스터를 명령어 (/spawnmob )또는 스폰알 (/mm eggs get ) 으로 직접 소환한
몬스터 이며 이 경우에는 플레이어 변장이 정상적으로 적용되며 나오는 문장 입니다.
-------------------------------------------------
[19:31:21 WARN]: [MythicMobs] Failed to process Disguise: player
[19:31:21 WARN]: java.lang.NullPointerException: Cannot invoke "String.equals(Object)" because "name" is null
[19:31:21 WARN]: at me.libraryaddict.disguise.disguisetypes.PlayerDisguise.setName(PlayerDisguise.java:299)
[19:31:21 WARN]: at me.libraryaddict.disguise.disguisetypes.FlagWatcher.setCustomName(FlagWatcher.java:587)
[19:31:21 WARN]: at io.lumine.xikage.mythicmobs.compatibility.LibsDisguisesSupport.getDisguise(LibsDisguisesSupport.java:881)
[19:31:21 WARN]: at io.lumine.xikage.mythicmobs.compatibility.LibsDisguisesSupport.setDisguise(LibsDisguisesSupport.java:86)
[19:31:21 WARN]: at io.lumine.xikage.mythicmobs.mobs.MythicMob.applyMobVolatileOptions(MythicMob.java:989)
[19:31:21 WARN]: at io.lumine.xikage.mythicmobs.mobs.MythicMob.spawn(MythicMob.java:744)
[19:31:21 WARN]: at io.lumine.xikage.mythicmobs.skills.mechanics.SummonSkill.castAtLocation(SummonSkill.java:97)
[19:31:21 WARN]: at io.lumine.xikage.mythicmobs.skills.mechanics.SummonSkill.castAtEntity(SummonSkill.java:144)
[19:31:21 WARN]: at io.lumine.xikage.mythicmobs.skills.SkillMechanic.lambda$executeTargetedEntitySkill$0(SkillMechanic.java:408)
[19:31:21 WARN]: at java.base/java.lang.Iterable.forEach(Iterable.java:75)
[19:31:21 WARN]: at io.lumine.xikage.mythicmobs.skills.SkillMechanic.executeTargetedEntitySkill(SkillMechanic.java:404)
[19:31:21 WARN]: at io.lumine.xikage.mythicmobs.skills.SkillMechanic$3.run(SkillMechanic.java:361)
[19:31:21 WARN]: at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:64)
[19:31:21 WARN]: at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:423)
[19:31:21 WARN]: at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:840)
[19:31:21 WARN]: at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:423)
[19:31:21 WARN]: at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:774)
[19:31:21 WARN]: at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:666)
[19:31:21 WARN]: at java.base/java.lang.Thread.run(Thread.java:833)
[19:31:21 WARN]: [MythicMobs] Task #1322 for MythicMobs v4.4.1 generated an exception
java.lang.NullPointerException: Cannot invoke "String.equals(Object)" because "name" is null
at me.libraryaddict.disguise.disguisetypes.PlayerDisguise.setName(PlayerDisguise.java:299) ~[?:?]
at me.libraryaddict.disguise.disguisetypes.FlagWatcher.setCustomName(FlagWatcher.java:587) ~[?:?]
at io.lumine.xikage.mythicmobs.compatibility.LibsDisguisesSupport.setDisguise(LibsDisguisesSupport.java:102) ~[?:?]
at io.lumine.xikage.mythicmobs.mobs.MythicMob.applyMobVolatileOptions(MythicMob.java:989) ~[?:?]
at io.lumine.xikage.mythicmobs.mobs.MythicMob.spawn(MythicMob.java:744) ~[?:?]
at io.lumine.xikage.mythicmobs.skills.mechanics.SummonSkill.castAtLocation(SummonSkill.java:97) ~[?:?]
at io.lumine.xikage.mythicmobs.skills.mechanics.SummonSkill.castAtEntity(SummonSkill.java:144) ~[?:?]
at io.lumine.xikage.mythicmobs.skills.SkillMechanic.lambda$executeTargetedEntitySkill$0(SkillMechanic.java:408) ~[?:?]
at java.lang.Iterable.forEach(Iterable.java:75) ~[?:?]
at io.lumine.xikage.mythicmobs.skills.SkillMechanic.executeTargetedEntitySkill(SkillMechanic.java:404) ~[?:?]
at io.lumine.xikage.mythicmobs.skills.SkillMechanic$3.run(SkillMechanic.java:361) ~[?:?]
at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:64) ~[patched_1.12.2.jar:git-Paper-1618]
at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:423) ~[patched_1.12.2.jar:git-Paper-1618]
at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:840) ~[patched_1.12.2.jar:git-Paper-1618]
at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:423) ~[patched_1.12.2.jar:git-Paper-1618]
at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:774) ~[patched_1.12.2.jar:git-Paper-1618]
at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:666) ~[patched_1.12.2.jar:git-Paper-1618]
at java.lang.Thread.run(Thread.java:833) [?:?]
해당 오류는 미스틱몹의 몬스터 소환 스킬로 소환된 몬스터의 플레이어 변장 오류 문장인데,
이 경우에는 직접 소환한 몬스터와는 달리, 플레이어 변장이 적용되지 않으며 이후 해당 미스틱몹의 메세지 출력 스킬등이 작동하지 않습니다.
플레이어 이외의 몬스터로 변장될 경우 정상적으로 작동합니다.
이 오류의 이유와 해결 방안을 알고 계신 분이 있나요?
댓글이 없습니다.
새로운 댓글을 등록해 주세요!