From 72731a373366626afc436e0ded81bd9fc5c7ed02 Mon Sep 17 00:00:00 2001 From: raoulvdberge Date: Thu, 7 Dec 2017 20:13:05 +0100 Subject: [PATCH] Fixed config categories not correctly appearing in ingame config GUI, fixes #1558 --- CHANGELOG.md | 1 + .../raoulvdberge/refinedstorage/RSConfig.java | 18 +++++++++--------- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 83731d2b9..af79d5266 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ - Minor fixes to autocrafting (raoulvdberge) - Fixed Exporter in Regulator Mode not regulating properly when same item is specified multiple times (raoulvdberge) - Fixed air appearing in Grid (raoulvdberge) +- Fixed config categories not correctly appearing in ingame config GUI (raoulvdberge) ### 1.5.25 - Fixed not being able to autocraft different Storage Drawers' wood drawers (raoulvdberge) diff --git a/src/main/java/com/raoulvdberge/refinedstorage/RSConfig.java b/src/main/java/com/raoulvdberge/refinedstorage/RSConfig.java index f8d1de6bf..9ce3e7433 100755 --- a/src/main/java/com/raoulvdberge/refinedstorage/RSConfig.java +++ b/src/main/java/com/raoulvdberge/refinedstorage/RSConfig.java @@ -235,15 +235,15 @@ public final class RSConfig { public List getConfigElements() { List list = new ArrayList<>(); - list.addAll(new ConfigElement(config.getCategory(ENERGY)).getChildElements()); - list.addAll(new ConfigElement(config.getCategory(CONTROLLER)).getChildElements()); - list.addAll(new ConfigElement(config.getCategory(UPGRADES)).getChildElements()); - list.addAll(new ConfigElement(config.getCategory(WIRELESS_TRANSMITTER)).getChildElements()); - list.addAll(new ConfigElement(config.getCategory(GRID)).getChildElements()); - list.addAll(new ConfigElement(config.getCategory(WIRELESS_GRID)).getChildElements()); - list.addAll(new ConfigElement(config.getCategory(WIRELESS_FLUID_GRID)).getChildElements()); - list.addAll(new ConfigElement(config.getCategory(WIRELESS_CRAFTING_MONITOR)).getChildElements()); - list.addAll(new ConfigElement(config.getCategory(PORTABLE_GRID)).getChildElements()); + list.add(new ConfigElement(config.getCategory(ENERGY))); + list.add(new ConfigElement(config.getCategory(CONTROLLER))); + list.add(new ConfigElement(config.getCategory(UPGRADES))); + list.add(new ConfigElement(config.getCategory(WIRELESS_TRANSMITTER))); + list.add(new ConfigElement(config.getCategory(GRID))); + list.add(new ConfigElement(config.getCategory(WIRELESS_GRID))); + list.add(new ConfigElement(config.getCategory(WIRELESS_FLUID_GRID))); + list.add(new ConfigElement(config.getCategory(WIRELESS_CRAFTING_MONITOR))); + list.add(new ConfigElement(config.getCategory(PORTABLE_GRID))); return list; }