diff options
| author | Unknown <shekwancheung0528@gmail.com> | 2019-06-07 12:09:48 +0800 |
|---|---|---|
| committer | Unknown <shekwancheung0528@gmail.com> | 2019-06-07 12:09:48 +0800 |
| commit | 6fdbd7b5581a1536e644517987c3ba5e631f5c1d (patch) | |
| tree | 71d5b6ec17e88c5a7bafb5b529d4864b7a2be452 /src/main/java/me/shedaniel/rei/gui/RecipeViewingScreen.java | |
| parent | 1f5ab59c04dd04918131c3d3942057e1969277c5 (diff) | |
| download | RoughlyEnoughItems-6fdbd7b5581a1536e644517987c3ba5e631f5c1d.tar.gz RoughlyEnoughItems-6fdbd7b5581a1536e644517987c3ba5e631f5c1d.tar.bz2 RoughlyEnoughItems-6fdbd7b5581a1536e644517987c3ba5e631f5c1d.zip | |
2.9.4
Diffstat (limited to 'src/main/java/me/shedaniel/rei/gui/RecipeViewingScreen.java')
| -rw-r--r-- | src/main/java/me/shedaniel/rei/gui/RecipeViewingScreen.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/me/shedaniel/rei/gui/RecipeViewingScreen.java b/src/main/java/me/shedaniel/rei/gui/RecipeViewingScreen.java index 5dd88c61e..4d0ec388a 100644 --- a/src/main/java/me/shedaniel/rei/gui/RecipeViewingScreen.java +++ b/src/main/java/me/shedaniel/rei/gui/RecipeViewingScreen.java @@ -306,7 +306,7 @@ public class RecipeViewingScreen extends Screen { int yy = bounds.y + 16; preWidgets.add(new CategoryBaseWidget(new Rectangle(xx - 6, yy - 6, 15 + innerWidth * 18, 11 + actualHeight * 18))); int index = 0; - List list = Collections.singletonList(ChatFormat.YELLOW.toString() + I18n.translate("text.rei.working_station")); + List<String> list = Collections.singletonList(ChatFormat.YELLOW.toString() + I18n.translate("text.rei.working_station")); xx += (innerWidth - 1) * 18; for(List<ItemStack> workingStation : workingStations) { preWidgets.add(new SlotWidget(xx, yy, workingStation, true, true, true) { @@ -379,7 +379,7 @@ public class RecipeViewingScreen extends Screen { selectedCategory.drawCategoryBackground(bounds, mouseX, mouseY, delta); else { new CategoryBaseWidget(bounds).render(); - if (RoughlyEnoughItemsCore.getConfigManager().getConfig().darkTheme) { + if (ScreenHelper.isDarkModeEnabled()) { fill(bounds.x + 17, bounds.y + 5, bounds.x + bounds.width - 17, bounds.y + 17, 0xFF404040); fill(bounds.x + 17, bounds.y + 21, bounds.x + bounds.width - 17, bounds.y + 33, 0xFF404040); } else { |
