{"action":"created","issue":{"url":"https://api.github.com/repos/OvercastNetwork/SportBukkit/issues/165","labels_url":"https://api.github.com/repos/OvercastNetwork/SportBukkit/issues/165/labels{/name}","comments_url":"https://api.github.com/repos/OvercastNetwork/SportBukkit/issues/165/comments","events_url":"https://api.github.com/repos/OvercastNetwork/SportBukkit/issues/165/events","html_url":"https://github.com/OvercastNetwork/SportBukkit/issues/165","id":91467711,"number":165,"title":"I coded a TabList Plugin with SportBukkit, but I have some error.","user":{"login":"VegaCrystal","id":5837620,"avatar_url":"https://avatars.githubusercontent.com/u/5837620?v=3","gravatar_id":"","url":"https://api.github.com/users/VegaCrystal","html_url":"https://github.com/VegaCrystal","followers_url":"https://api.github.com/users/VegaCrystal/followers","following_url":"https://api.github.com/users/VegaCrystal/following{/other_user}","gists_url":"https://api.github.com/users/VegaCrystal/gists{/gist_id}","starred_url":"https://api.github.com/users/VegaCrystal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VegaCrystal/subscriptions","organizations_url":"https://api.github.com/users/VegaCrystal/orgs","repos_url":"https://api.github.com/users/VegaCrystal/repos","events_url":"https://api.github.com/users/VegaCrystal/events{/privacy}","received_events_url":"https://api.github.com/users/VegaCrystal/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-27T13:57:26Z","updated_at":"2015-06-27T14:00:44Z","closed_at":null,"body":"first, this is my code.\r\nclass name> TabList.java\r\n\r\nthis is the error code.\r\n\r\n    public void InitializePlayer(Player player) {\r\n        ((CraftPlayer) player).getHandle().playerConnection.sendPacket(PacketPlayOutPlayerInfo.removePlayer(((CraftPlayer) player).getHandle()));\r\n        PacketPlayOutPlayerInfo packet = new PacketPlayOutPlayerInfo();\r\n        for(int i = 0; i < 60; i++) {\r\n            packet.action = 0;\r\n            GameProfile profile = new GameProfile(UUID.fromString(\"40f08c66-da55-4816-bd94-8ccb21446547\"), this.GetNullSlotName(i));\r\n            Entry entry = new Entry(profile.getId(), this.GetNullSlotName(i), ChatSerializer.a(CraftChatMessage.fromString(this.GetNullSlotName(i))[0]), 0, 1100, profile.getProperties());\r\n        \t\r\n        \tpacket.entries = Collections.singletonList(entry);\r\n            \r\n            ((CraftPlayer) player).getHandle().playerConnection.sendPacket(packet);\r\n        }\r\n    }\r\n\r\nThis code doesn't have error.\r\nthis method fill tab slots with null strings and run in the event, PlayerJoinEvent\r\n\r\n    public void SendTab(Player player, int index, String fakePrefix, String fakeSuffix) {\r\n        PacketPlayOutScoreboardTeam packet = new PacketPlayOutScoreboardTeam();\r\n        packet.a = this.GetNullSlotName(index);\r\n        packet.b = this.GetNullSlotName(index);\r\n        packet.c = fakePrefix;\r\n        packet.d = fakeSuffix;\r\n        packet.f = 2;\r\n        packet.g = 0;\r\n        ((CraftPlayer) player).getHandle().playerConnection.sendPacket(packet);\r\n    }\r\n\r\nthis method have error.\r\nwhen I join this server, my minecraft client crash.\r\nthe client error log: 'Expected Error' or 'Ticking screen'\r\n\r\nHow I know: If I remove it, client didn't crash.\r\n\r\nCan i know why client crash?\r\nand can you help me to fix?"},"comment":{"url":"https://api.github.com/repos/OvercastNetwork/SportBukkit/issues/comments/116054265","html_url":"https://github.com/OvercastNetwork/SportBukkit/issues/165#issuecomment-116054265","issue_url":"https://api.github.com/repos/OvercastNetwork/SportBukkit/issues/165","id":116054265,"user":{"login":"CaptainElliott","id":6588138,"avatar_url":"https://avatars.githubusercontent.com/u/6588138?v=3","gravatar_id":"","url":"https://api.github.com/users/CaptainElliott","html_url":"https://github.com/CaptainElliott","followers_url":"https://api.github.com/users/CaptainElliott/followers","following_url":"https://api.github.com/users/CaptainElliott/following{/other_user}","gists_url":"https://api.github.com/users/CaptainElliott/gists{/gist_id}","starred_url":"https://api.github.com/users/CaptainElliott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CaptainElliott/subscriptions","organizations_url":"https://api.github.com/users/CaptainElliott/orgs","repos_url":"https://api.github.com/users/CaptainElliott/repos","events_url":"https://api.github.com/users/CaptainElliott/events{/privacy}","received_events_url":"https://api.github.com/users/CaptainElliott/received_events","type":"User","site_admin":false},"created_at":"2015-06-27T14:00:44Z","updated_at":"2015-06-27T14:00:44Z","body":"This is not for technical assistance, but for reporting bugs "}}