Delete negative handling code for SNBT

This commit is contained in:
Nicholas Novak
2021-11-01 18:13:15 -07:00
parent 6fb421e95e
commit a99d862dc1

View File

@ -115,9 +115,6 @@ func stateBeginValue(s *scanner, c byte) int {
return s.pushParseState(c, parseListValue, scanBeginList)
case '"', '\'': // beginning of TAG_String
return stateBeginString(s, c)
//case '-': // beginning of negative number
//s.step = stateNeg
//return scanBeginLiteral
default:
if isNumber(c) {
stateNum0(s, c)