Closed Alexdoru closed 1 year ago
Is this impossible to do with a mixin?
One could do an inject before, check the hashmap before hand and if it returns null do callback.cancel() but I didn't feel like checking the hasmap twice. Other than that I don't see how this could be done with mixins.
Mixin should be used for all new injections, unless it's absolutely necessary to use ASM.
Mixin should be used for all new injections, unless it's absolutely necessary to use ASM.
is it possible to fix the bug without checking the haskmap twice ? like is there a mixin injector that allows you to catch the return value of a certain method invokation and then decide to cancel the whole method (inject a return) based on that
No, just check the hashmap twice. Lookups are O(1).
No, just check the hashmap twice. Lookups are O(1).
it's done
…& 1.12.2