Basic SNBT list support

This commit is contained in:
Tnze
2021-05-26 15:02:49 +08:00
parent e2fbef9bea
commit 233b44a13f
4 changed files with 53 additions and 5 deletions

View File

@ -239,7 +239,7 @@ func (s *scanner) stateListOrArray(c byte) int {
switch c {
case 'B', 'I', 'L':
s.step = s.stateListOrArrayT
return scanContinue
return scanBeginLiteral
case ']':
return s.stateEndValue(c)
default: