Fix mixin issue (#209)

This commit is contained in:
Soda5601
2023-01-22 19:56:39 +08:00
committed by GitHub
parent 6a3a8b6d58
commit 4bd7c97189
3 changed files with 14 additions and 4 deletions

View File

@@ -20,6 +20,11 @@ public abstract class InventoryTweaksMixin implements IInventoryTweaks {
}
}
@Override
public void stealCallback(Runnable callback) {
this.callback = callback;
}
@Inject(method = "lambda$new$1", at = @At("HEAD"))
private void onStealChanged(Boolean b, CallbackInfo info) {
callback = null;