{"action":"created","issue":{"url":"https://api.github.com/repos/md-5/iTag/issues/7","labels_url":"https://api.github.com/repos/md-5/iTag/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/md-5/iTag/issues/7/comments","events_url":"https://api.github.com/repos/md-5/iTag/issues/7/events","html_url":"https://github.com/md-5/iTag/issues/7","id":52386050,"number":7,"title":"iTag doesn't work with 1.8","user":{"login":"Zwoerni2000","id":5102468,"avatar_url":"https://avatars.githubusercontent.com/u/5102468?v=3","gravatar_id":"","url":"https://api.github.com/users/Zwoerni2000","html_url":"https://github.com/Zwoerni2000","followers_url":"https://api.github.com/users/Zwoerni2000/followers","following_url":"https://api.github.com/users/Zwoerni2000/following{/other_user}","gists_url":"https://api.github.com/users/Zwoerni2000/gists{/gist_id}","starred_url":"https://api.github.com/users/Zwoerni2000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zwoerni2000/subscriptions","organizations_url":"https://api.github.com/users/Zwoerni2000/orgs","repos_url":"https://api.github.com/users/Zwoerni2000/repos","events_url":"https://api.github.com/users/Zwoerni2000/events{/privacy}","received_events_url":"https://api.github.com/users/Zwoerni2000/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2014-12-18T16:33:35Z","updated_at":"2015-03-04T20:00:08Z","closed_at":null,"body":"If you run iTag and some one joins there is an exception, because of the changed PacketPlayOutNamedEntitySpawn:\r\n[17:20:21 ERROR]: [iTag] Unhandled exception occured in onPacketSending(PacketEvent) for iTag\r\ncom.comphenix.protocol.reflect.FieldAccessException: Field index out of bounds. (Index: 0, Size: 0)\r\n        at com.comphenix.protocol.reflect.StructureModifier.read(StructureModifier.java:193) ~[ProtocolLib.jar:?]\r\n        at net.md_5.itag.iTag$1.onPacketSending(iTag.java:54) ~[iTag.jar:?]\r\n        at com.comphenix.protocol.injector.SortedPacketListenerList.invokeSendingListener(SortedPacketListenerList.java:195) [ProtocolLib.jar:?]\r\n        at com.comphenix.protocol.injector.SortedPacketListenerList.invokePacketSending(SortedPacketListenerList.java:149) [ProtocolLib.jar:?]\r\n        at com.comphenix.protocol.injector.PacketFilterManager.handlePacket(PacketFilterManager.java:634) [ProtocolLib.jar:?]\r\n        at com.comphenix.protocol.injector.PacketFilterManager.invokePacketSending(PacketFilterManager.java:610) [ProtocolLib.jar:?]\r\n        at com.comphenix.protocol.injector.netty.NettyProtocolInjector.packetQueued(NettyProtocolInjector.java:286) [ProtocolLib.jar:?]\r\n        at com.comphenix.protocol.injector.netty.NettyProtocolInjector.onPacketSending(NettyProtocolInjector.java:254) [ProtocolLib.jar:?]\r\n        at com.comphenix.protocol.injector.netty.ChannelInjector.processSending(ChannelInjector.java:362) [ProtocolLib.jar:?]\r\n        at com.comphenix.protocol.injector.netty.ChannelInjector.access$500(ChannelInjector.java:61) [ProtocolLib.jar:?]\r\n        at com.comphenix.protocol.injector.netty.ChannelInjector$5.handleScheduled(ChannelInjector.java:328) [ProtocolLib.jar:?]\r\n        at com.comphenix.protocol.injector.netty.ChannelInjector$5.onMessageScheduled(ChannelInjector.java:296) [ProtocolLib.jar:?]\r\n        at com.comphenix.protocol.injector.netty.ChannelProxy$2.schedulingRunnable(ChannelProxy.java:110) [ProtocolLib.jar:?]\r\n        at com.comphenix.protocol.injector.netty.EventLoopProxy.execute(EventLoopProxy.java:79) [ProtocolLib.jar:?]\r\n        at net.minecraft.server.v1_8_R1.NetworkManager.a(NetworkManager.java:140) [spigot.jar:git-Spigot-\"606148f\"]\r\n        at net.minecraft.server.v1_8_R1.NetworkManager.handle(NetworkManager.java:101) [spigot.jar:git-Spigot-\"606148f\"]\r\n        at net.minecraft.server.v1_8_R1.PlayerConnection.sendPacket(PlayerConnection.java:858) [spigot.jar:git-Spigot-\"606148f\"]\r\n        at net.minecraft.server.v1_8_R1.EntityTrackerEntry.updatePlayer(EntityTrackerEntry.java:328) [spigot.jar:git-Spigot-\"606148f\"]\r\n        at net.minecraft.server.v1_8_R1.EntityTrackerEntry.scanPlayers(EntityTrackerEntry.java:424) [spigot.jar:git-Spigot-\"606148f\"]\r\n        at net.minecraft.server.v1_8_R1.EntityTrackerEntry.track(EntityTrackerEntry.java:74) [spigot.jar:git-Spigot-\"606148f\"]\r\n        at net.minecraft.server.v1_8_R1.EntityTracker.updatePlayers(EntityTracker.java:162) [spigot.jar:git-Spigot-\"606148f\"]\r\n        at net.minecraft.server.v1_8_R1.MinecraftServer.z(MinecraftServer.java:775) [spigot.jar:git-Spigot-\"606148f\"]\r\n        at net.minecraft.server.v1_8_R1.DedicatedServer.z(DedicatedServer.java:316) [spigot.jar:git-Spigot-\"606148f\"]\r\n        at net.minecraft.server.v1_8_R1.MinecraftServer.y(MinecraftServer.java:625) [spigot.jar:git-Spigot-\"606148f\"]\r\n        at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:528) [spigot.jar:git-Spigot-\"606148f\"]\r\n        at java.lang.Thread.run(Thread.java:745) [?:1.8.0_25]\r\n[17:20:21 ERROR]: Parameters:\r\n  net.minecraft.server.v1_8_R1.PacketPlayOutNamedEntitySpawn@4032a517[\r\n    a=29613\r\n    b=3042ef6c-e43b-47e2-91e6-75f092175f45\r\n    c=-7144\r\n    d=3919\r\n    e=8406\r\n    f=-65\r\n    g=-15\r\n    h=0\r\n    i=net.minecraft.server.v1_8_R1.DataWatcher@40092ca9\r\n    j=<null>\r\n  ]\r\n"},"comment":{"url":"https://api.github.com/repos/md-5/iTag/issues/comments/77234276","html_url":"https://github.com/md-5/iTag/issues/7#issuecomment-77234276","issue_url":"https://api.github.com/repos/md-5/iTag/issues/7","id":77234276,"user":{"login":"codebucketdev","id":5750114,"avatar_url":"https://avatars.githubusercontent.com/u/5750114?v=3","gravatar_id":"","url":"https://api.github.com/users/codebucketdev","html_url":"https://github.com/codebucketdev","followers_url":"https://api.github.com/users/codebucketdev/followers","following_url":"https://api.github.com/users/codebucketdev/following{/other_user}","gists_url":"https://api.github.com/users/codebucketdev/gists{/gist_id}","starred_url":"https://api.github.com/users/codebucketdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codebucketdev/subscriptions","organizations_url":"https://api.github.com/users/codebucketdev/orgs","repos_url":"https://api.github.com/users/codebucketdev/repos","events_url":"https://api.github.com/users/codebucketdev/events{/privacy}","received_events_url":"https://api.github.com/users/codebucketdev/received_events","type":"User","site_admin":false},"created_at":"2015-03-04T20:00:07Z","updated_at":"2015-03-04T20:00:07Z","body":"There is a solution how to change the name and skin of a player (http://www.postcrafter.de/viewtopic.php?f=15&t=2387), but is based on hardcoded NMS which I didn't prefer. Also I want to modify the needed packets while sending it to the player. To realise it I want to use ProtocolLib, but I didn't know how to make a use of it..\r\n\r\n@md-5 @dmulloy2"}}