Fixed crashing mixin

This commit is contained in:
Frank 2023-04-08 14:54:09 +02:00
parent 7b0dd1c169
commit bd47215916

View file

@ -38,13 +38,13 @@ public class AnvilScreenMixin extends ItemCombinerScreen<AnvilMenu> {
} }
@Override @Override
protected void renderErrorIcon(PoseStack poseStack, int i, int j) { public void renderErrorIcon(PoseStack poseStack, int i, int j) {
if (this.hasRecipeError()) { if (this.bcl_hasRecipeError()) {
blit(poseStack, i + 65, j + 46, this.imageWidth, 0, 28, 21); blit(poseStack, i + 65, j + 46, this.imageWidth, 0, 28, 21);
} }
} }
private boolean hasRecipeError() { private boolean bcl_hasRecipeError() {
//TODO: 1.19.4 check error conditions //TODO: 1.19.4 check error conditions
return false; return false;
} }