From 61cb0585750cd316ee8790804eaa050b117d58fd Mon Sep 17 00:00:00 2001 From: Jascha Starke Date: Sat, 27 Jul 2013 00:25:39 +0200 Subject: [PATCH] BlockState: Module Load fixed BlockState: Config default disabled --- .../jaschastarke/minecraft/limitedcreative/LimitedCreative.java | 1 + .../minecraft/limitedcreative/blockstate/BlockStateConfig.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/de/jaschastarke/minecraft/limitedcreative/LimitedCreative.java b/src/main/java/de/jaschastarke/minecraft/limitedcreative/LimitedCreative.java index 201b5f8..e808682 100644 --- a/src/main/java/de/jaschastarke/minecraft/limitedcreative/LimitedCreative.java +++ b/src/main/java/de/jaschastarke/minecraft/limitedcreative/LimitedCreative.java @@ -31,6 +31,7 @@ public class LimitedCreative extends Core { addModule(new ModRegions(this)); addModule(new ModCmdBlocker(this)); addModule(new ModGameModePerm(this)); + addModule(new ModBlockStates(this)); addModule(new FeatureMetrics(this)); listeners.addListener(new DependencyListener(this)); diff --git a/src/main/java/de/jaschastarke/minecraft/limitedcreative/blockstate/BlockStateConfig.java b/src/main/java/de/jaschastarke/minecraft/limitedcreative/blockstate/BlockStateConfig.java index 97f9ca8..0fa3eb2 100644 --- a/src/main/java/de/jaschastarke/minecraft/limitedcreative/blockstate/BlockStateConfig.java +++ b/src/main/java/de/jaschastarke/minecraft/limitedcreative/blockstate/BlockStateConfig.java @@ -73,7 +73,7 @@ public class BlockStateConfig extends Configuration implements IConfigurationSub */ @IsConfigurationNode(order = 100) public boolean getEnabled() { - return config.getBoolean("enabled", true); + return config.getBoolean("enabled", false); } /**