Closed friendlyhj closed 3 years ago
Does this happen on the put or the get?
put
Then it's a missed Boxing of the int.
In there, a call to the unboxingTypeVisitor is missing. You'll most likely find that in more than one occasion when it comes to boxing, since ZC doesn't distinguish between them and in some cases I forgot to add that (since it was added later).
That specific place would need something like
AssocTypeID type = expression.target.type;
type.value.accept(type.value, boxingTypeVisistor);
javaWriter.invokeVirtual(...);
javaWriter.pop();
Merged in ZC
Intro:
Could not modify int map
What you expected to happen:
Can modify int map
Script used:
crafttweaker.log file:
https://paste.ubuntu.com/p/NQdZnGth3m/
Environment: