aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/shedaniel/rei/gui/widget/RecipeBaseWidget.java
diff options
context:
space:
mode:
authorUnknown <shekwancheung0528@gmail.com>2019-08-04 22:11:07 +0800
committerUnknown <shekwancheung0528@gmail.com>2019-08-04 22:11:07 +0800
commit721ea24a226c2dca5cfef4b3f638d251547df0b8 (patch)
tree76c9d8c2790db8730c95af2d250a4b062df1215a /src/main/java/me/shedaniel/rei/gui/widget/RecipeBaseWidget.java
parent82225991887f55047d161a18e6fa19f798c0ba67 (diff)
downloadRoughlyEnoughItems-721ea24a226c2dca5cfef4b3f638d251547df0b8.tar.gz
RoughlyEnoughItems-721ea24a226c2dca5cfef4b3f638d251547df0b8.tar.bz2
RoughlyEnoughItems-721ea24a226c2dca5cfef4b3f638d251547df0b8.zip
yes thank you
Diffstat (limited to 'src/main/java/me/shedaniel/rei/gui/widget/RecipeBaseWidget.java')
-rw-r--r--src/main/java/me/shedaniel/rei/gui/widget/RecipeBaseWidget.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/me/shedaniel/rei/gui/widget/RecipeBaseWidget.java b/src/main/java/me/shedaniel/rei/gui/widget/RecipeBaseWidget.java
index 51c12c04b..830d34f79 100644
--- a/src/main/java/me/shedaniel/rei/gui/widget/RecipeBaseWidget.java
+++ b/src/main/java/me/shedaniel/rei/gui/widget/RecipeBaseWidget.java
@@ -66,12 +66,12 @@ public class RecipeBaseWidget extends WidgetWithBounds {
this.blit(x + width - 4, y + height - 4, 252, 186 + textureOffset, 4, 4);
//Sides
- for(int xx = 4; xx < width - 4; xx += 128) {
+ for (int xx = 4; xx < width - 4; xx += 128) {
int thisWidth = Math.min(128, width - 4 - xx);
this.blit(x + xx, y, 110, 124 + textureOffset, thisWidth, 4);
this.blit(x + xx, y + height - 4, 110, 186 + textureOffset, thisWidth, 4);
}
- for(int yy = 4; yy < height - 4; yy += 50) {
+ for (int yy = 4; yy < height - 4; yy += 50) {
int thisHeight = Math.min(50, height - 4 - yy);
this.blit(x, y + yy, 106, 128 + textureOffset, 4, thisHeight);
this.blit(x + width - 4, y + yy, 252, 128 + textureOffset, 4, thisHeight);