Fixed config categories not correctly appearing in ingame config GUI, fixes #1558

This commit is contained in:
raoulvdberge
2017-12-07 20:13:05 +01:00
parent 01cc00f0a9
commit 72731a3733
2 changed files with 10 additions and 9 deletions

View File

@@ -5,6 +5,7 @@
- Minor fixes to autocrafting (raoulvdberge) - Minor fixes to autocrafting (raoulvdberge)
- Fixed Exporter in Regulator Mode not regulating properly when same item is specified multiple times (raoulvdberge) - Fixed Exporter in Regulator Mode not regulating properly when same item is specified multiple times (raoulvdberge)
- Fixed air appearing in Grid (raoulvdberge) - Fixed air appearing in Grid (raoulvdberge)
- Fixed config categories not correctly appearing in ingame config GUI (raoulvdberge)
### 1.5.25 ### 1.5.25
- Fixed not being able to autocraft different Storage Drawers' wood drawers (raoulvdberge) - Fixed not being able to autocraft different Storage Drawers' wood drawers (raoulvdberge)

View File

@@ -235,15 +235,15 @@ public final class RSConfig {
public List<IConfigElement> getConfigElements() { public List<IConfigElement> getConfigElements() {
List<IConfigElement> list = new ArrayList<>(); List<IConfigElement> list = new ArrayList<>();
list.addAll(new ConfigElement(config.getCategory(ENERGY)).getChildElements()); list.add(new ConfigElement(config.getCategory(ENERGY)));
list.addAll(new ConfigElement(config.getCategory(CONTROLLER)).getChildElements()); list.add(new ConfigElement(config.getCategory(CONTROLLER)));
list.addAll(new ConfigElement(config.getCategory(UPGRADES)).getChildElements()); list.add(new ConfigElement(config.getCategory(UPGRADES)));
list.addAll(new ConfigElement(config.getCategory(WIRELESS_TRANSMITTER)).getChildElements()); list.add(new ConfigElement(config.getCategory(WIRELESS_TRANSMITTER)));
list.addAll(new ConfigElement(config.getCategory(GRID)).getChildElements()); list.add(new ConfigElement(config.getCategory(GRID)));
list.addAll(new ConfigElement(config.getCategory(WIRELESS_GRID)).getChildElements()); list.add(new ConfigElement(config.getCategory(WIRELESS_GRID)));
list.addAll(new ConfigElement(config.getCategory(WIRELESS_FLUID_GRID)).getChildElements()); list.add(new ConfigElement(config.getCategory(WIRELESS_FLUID_GRID)));
list.addAll(new ConfigElement(config.getCategory(WIRELESS_CRAFTING_MONITOR)).getChildElements()); list.add(new ConfigElement(config.getCategory(WIRELESS_CRAFTING_MONITOR)));
list.addAll(new ConfigElement(config.getCategory(PORTABLE_GRID)).getChildElements()); list.add(new ConfigElement(config.getCategory(PORTABLE_GRID)));
return list; return list;
} }