kangarko / Boss

Premium custom monsters plugin with skill system, natural spawning and lots of sickest features!
https://www.mc-market.org/resources/21619/
77 stars 28 forks source link

1.12.2 : Problem with SuperVanish plugin #1161

Closed TeQTabanca closed 1 year ago

TeQTabanca commented 1 year ago

- I disguised myself with the SuperVanish plugin. After hitting the monster while in survival mode, "You are in boss fight, disabling invisibility." gives the message. When I look at the console it gives an error.

[20:41:30 WARN]: [Boss] Task #731 for Boss v4.7.7 generated an exception
org.mineacademy.boss.lib.exception.FoException: Report: Unable to invoke setInvisible(false) because such method was not found in class net.minecraft.server.v1_12_R1.EntityPlayer
        at org.mineacademy.boss.lib.Valid.checkNotNull(Valid.java:59) ~[?:?]
        at org.mineacademy.boss.lib.ReflectionUtil.invoke(ReflectionUtil.java:463) ~[?:?]
        at org.mineacademy.boss.lib.remain.Remain.lambda$setInvisible$5(Remain.java:2102) ~[?:?]
        at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:76) ~[server.jar:git-Spigot-79a30d7-f4830a1]
        at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:361) [server.jar:git-Spigot-79a30d7-f4830a1]
        at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:739) [server.jar:git-Spigot-79a30d7-f4830a1]
        at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:406) [server.jar:git-Spigot-79a30d7-f4830a1]
        at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:679) [server.jar:git-Spigot-79a30d7-f4830a1]
        at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:577) [server.jar:git-Spigot-79a30d7-f4830a1]
        at java.lang.Thread.run(Thread.java:833) [?:?]
kangarko commented 1 year ago

Thanks, will be fixed.