Fix compile error

This commit is contained in:
embeddedt 2023-04-25 19:32:27 -04:00
parent fc5b63282f
commit d344385aa3
No known key found for this signature in database
GPG Key ID: A69433EC199B5613

View File

@ -18,7 +18,7 @@ public class RecipeEventJSMixin {
/** /**
* The recipe event object can be leaked in scripts and this wastes 40MB of memory. * The recipe event object can be leaked in scripts and this wastes 40MB of memory.
*/ */
@Inject(method = "post", at = @At("RETURN")) @Inject(method = "post", at = @At("RETURN"), remap = false)
private void clearRecipeLists(CallbackInfo ci) { private void clearRecipeLists(CallbackInfo ci) {
ModernFix.LOGGER.info("Clearing KubeJS recipe lists..."); ModernFix.LOGGER.info("Clearing KubeJS recipe lists...");
// Even though we are a mixin class, use reflection so this works across a variety of versions // Even though we are a mixin class, use reflection so this works across a variety of versions