confuser / BarAPI

DEPRECATED Control Minecraft boss bar programatically
http://dev.bukkit.org/bukkit-plugins/bar-api/
Other
24 stars 48 forks source link

NoSuchMethodException: net.minecraft.server.v1_7_R4.PacketPlayOutEntityTeleport #40

Closed WoutDev closed 9 years ago

WoutDev commented 9 years ago

I'm working on a plugin that uses BarAPI for the bossbar. The persons who tested the plugin receives this error:

[09:58:11 WARN]: java.lang.NoSuchMethodException: net.minecraft.server.v1_7_R4.PacketPlayOutEntityTeleport.<init>(int, int, int, int, byte, byte)
[09:58:11 WARN]:    at java.lang.Class.getConstructor0(Class.java:3069)
[09:58:11 WARN]:    at java.lang.Class.getConstructor(Class.java:1812)
[09:58:11 WARN]:    at me.confuser.barapi.nms.v1_7.getTeleportPacket(v1_7.java:139)
[09:58:11 WARN]:    at me.confuser.barapi.BarAPI.sendDragon(BarAPI.java:410)
[09:58:11 WARN]:    at me.confuser.barapi.BarAPI.setMessage(BarAPI.java:230)
[09:58:11 WARN]:    at me.confuser.barapi.BarAPI.setMessage(BarAPI.java:199)
[09:58:11 WARN]:    at be.woutdev.*.*.*.GameManager$timeStartRunnable.run(GameManager.java:231)
[09:58:11 WARN]:    at java.lang.Thread.run(Thread.java:745)

The're more people having this problem, see the comment section at: http://dev.bukkit.org/bukkit-plugins/bar-api/

confuser commented 9 years ago

This has been answered multiple times, on the plugin page comments, as well as the Spigot forums:

https://github.com/confuser/BarAPI/issues/38