Skip to content

Commit

Permalink
More manual server side fixes for #540
Browse files Browse the repository at this point in the history
  • Loading branch information
GregHib committed May 23, 2024
1 parent e2f1e16 commit 9ba3207
Showing 1 changed file with 27 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,37 @@ class StructDecoder(
override fun load(cache: Cache): Array<StructDefinition> {
val definitions = super.load(cache)
// Manually fix values see https://github.com/GregHib/void/issues/540
val extras = definitions[1330].extras as MutableMap<String, Any>
var extras = definitions[1330].extras as MutableMap<String, Any>
extras["1296"] = 3
extras["1297"] = 19
extras["1298"] = 2
extras["1299"] = 37
extras = definitions[1337].extras as MutableMap<String, Any>
extras["1294"] = 62
extras["1295"] = 8
extras["1296"] = 14
extras["1297"] = 13
extras["1298"] = 13
extras["1299"] = 10
extras = definitions[1342].extras as MutableMap<String, Any>
extras["1294"] = 62
extras["1295"] = 13
extras["1296"] = 12
extras["1297"] = 56
extras = definitions[1450].extras as MutableMap<String, Any>
extras["1298"] = 2
extras["1299"] = 75
extras["1300"] = 20
extras["1301"] = 65
extras = definitions[1346].extras as MutableMap<String, Any>
extras["1294"] = 13
extras["1295"] = 60
extras = definitions[1649].extras as MutableMap<String, Any>
extras["1296"] = 10
extras["1297"] = 17
extras = definitions[1658].extras as MutableMap<String, Any>
extras["1296"] = 12
extras["1297"] = 50
return definitions
}

Expand Down

0 comments on commit 9ba3207

Please sign in to comment.