fix this fuzz

this is for scoreboard packets i didnt branch the name so thats why this occured

[]byte("c\x00\x00\x0000\xf50")
This commit is contained in:
adman
2025-12-24 12:43:13 +01:00
parent db091d17df
commit b9ee608811
+1 -1
View File
@@ -254,7 +254,7 @@ func SwitchDecoder(g *Generator, varToSet ast.Expr, dataRaw any, name string) (s
if err != nil {
return
}
tName := name + "Tmp"
tName := name + CamelCase(fName) + "Tmp"
s1 := VarStmt(tName, tType)
s3 := Assign121(varToSet, Ident(tName))
var caseDecodeValueStmts []ast.Stmt