Skip to content

Commit 63482ee

Browse files
fix: image width and height fixed
1 parent 0d7be47 commit 63482ee

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/main/java/anya/pizza/houseki/screen/custom/CrusherScreen.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,8 @@ public class CrusherScreen extends AbstractContainerScreen<CrusherScreenHandler>
1313
private static final Identifier ARROW_TEXTURE = Identifier.fromNamespaceAndPath(Houseki.MOD_ID, "textures/gui/crusher/crush_progress.png");
1414
private static final Identifier CRUSHING_TEXTURE = Identifier.fromNamespaceAndPath(Houseki.MOD_ID, "textures/gui/crusher/crushing_progress.png");
1515

16-
public CrusherScreen(CrusherScreenHandler handler, Inventory inventory, Component title/*, int imageWidth, int imageHeight*/) {
17-
super(handler, inventory, title);
18-
//imageWidth = 176;
19-
//imageHeight = 176;
16+
public CrusherScreen(CrusherScreenHandler handler, Inventory inventory, Component title, final int imageWidth, final int imageHeight) {
17+
super(handler, inventory, title, imageWidth, imageHeight);
2018
}
2119

2220
@Override

0 commit comments

Comments
 (0)