Skip to content

Commit f84744d

Browse files
committed
Tidy smsg_messagechat condition
1 parent 1ed9a98 commit f84744d

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

schemas/world/packets/smsg_messagechat.json

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,10 @@
3737
{ "name": "player_rank", "type": "uint32" },
3838
{ "name": "player_guid", "type": "uint64" }
3939
]
40-
},
41-
{
42-
"when": { "op": "neq", "field": "type", "value": "channel" },
43-
"fields": [
44-
{ "name": "sender2", "type": "uint64" }
45-
]
4640
}
41+
],
42+
"else": [
43+
{ "name": "sender2", "type": "uint64" }
4744
]
4845
},
4946
{ "name": "message", "type": "PrefixedString32" },

0 commit comments

Comments
 (0)