Config fix
This commit is contained in:
parent
30bde849f8
commit
a2d7a5f7c8
2 changed files with 3 additions and 4 deletions
|
@ -39,9 +39,6 @@ public class BetterEnd implements ModInitializer {
|
||||||
public static final Logger LOGGER = Logger.get();
|
public static final Logger LOGGER = Logger.get();
|
||||||
@Override
|
@Override
|
||||||
public void onInitialize() {
|
public void onInitialize() {
|
||||||
TerrainGenerator.init();
|
|
||||||
GeneratorOptions.init();
|
|
||||||
|
|
||||||
EndSounds.register();
|
EndSounds.register();
|
||||||
EndItems.register();
|
EndItems.register();
|
||||||
EndBlocks.register();
|
EndBlocks.register();
|
||||||
|
@ -63,6 +60,8 @@ public class BetterEnd implements ModInitializer {
|
||||||
EndStructures.register();
|
EndStructures.register();
|
||||||
Integrations.register();
|
Integrations.register();
|
||||||
BonemealUtil.init();
|
BonemealUtil.init();
|
||||||
|
TerrainGenerator.init();
|
||||||
|
GeneratorOptions.init();
|
||||||
|
|
||||||
if (hasGuideBook()) {
|
if (hasGuideBook()) {
|
||||||
GuideBookItem.register();
|
GuideBookItem.register();
|
||||||
|
|
|
@ -56,7 +56,7 @@ public final class ConfigKeeper {
|
||||||
String paramKey = key.getEntry();
|
String paramKey = key.getEntry();
|
||||||
paramKey += " [default: " + entry.getDefault() + "]";
|
paramKey += " [default: " + entry.getDefault() + "]";
|
||||||
|
|
||||||
this.changed = entry.setLocation(obj, paramKey);
|
this.changed |= entry.setLocation(obj, paramKey);
|
||||||
}
|
}
|
||||||
|
|
||||||
private <T, E extends Entry<T>> void storeValue(E entry, T value) {
|
private <T, E extends Entry<T>> void storeValue(E entry, T value) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue