From 639d0b81dbae7267f5682fa54d4f61a49fb1befd Mon Sep 17 00:00:00 2001 From: Romain Beaumont Date: Tue, 12 Apr 2016 23:06:53 +0200 Subject: [PATCH] fix player_list --- data/protocol.json | 85 +++++++++++++++++++++++----------------------- 1 file changed, 42 insertions(+), 43 deletions(-) diff --git a/data/protocol.json b/data/protocol.json index 820baff..e2c0153 100644 --- a/data/protocol.json +++ b/data/protocol.json @@ -452,48 +452,6 @@ ] } ], - "playerrecords": [ - "switch", - { - "compareTo": "type", - "fields": { - "0": [ - "container", - [ - { - "name": "clientUuid", - "type": "uuid" - }, - { - "name": "entityId", - "type": "i64" - }, - { - "name": "displayName", - "type": "string" - }, - { - "name": "skinType", - "type": "string" - }, - { - "name": "textures", - "type": "string" - } - ] - ], - "1": [ - "container", - [ - { - "name": "clientUuid", - "type": "uuid" - } - ] - ] - } - } - ], "playerattributes": [ "array", { @@ -1852,7 +1810,48 @@ }, { "name": "records", - "type": "playerrecords" + "type": [ + "switch", + { + "compareTo": "type", + "fields": { + "0": [ + "container", + [ + { + "name": "clientUuid", + "type": "uuid" + }, + { + "name": "entityId", + "type": "i64" + }, + { + "name": "displayName", + "type": "string" + }, + { + "name": "skinType", + "type": "string" + }, + { + "name": "textures", + "type": "string" + } + ] + ], + "1": [ + "container", + [ + { + "name": "clientUuid", + "type": "uuid" + } + ] + ] + } + } + ] } ] ],