Fix disable collisions setting

This commit is contained in:
ljacqu 2016-04-03 07:25:33 +02:00
parent c46c1251d9
commit ba217a2595
3 changed files with 3 additions and 3 deletions

View File

@ -190,7 +190,7 @@ public final class Settings {
preventOtherCase = configFile.getBoolean("settings.preventOtherCase", false);
kickPlayersBeforeStopping = configFile.getBoolean("Security.stop.kickPlayersBeforeStopping", true);
sendPlayerTo = configFile.getString("Hooks.sendPlayerTo", "");
keepCollisionsDisabled = configFile.getBoolean("settings.KeepCollisionsDisabled");
keepCollisionsDisabled = load(PluginSettings.KEEP_COLLISIONS_DISABLED);
}
/**

View File

@ -58,7 +58,7 @@ public class PluginSettings implements SettingsClass {
"Works only with MC 1.9"
})
public static final Property<Boolean> KEEP_COLLISIONS_DISABLED =
newProperty("settings.KeepCollisionsDisabled", false);
newProperty("settings.restrictions.keepCollisionsDisabled", false);
private PluginSettings() {
}

View File

@ -161,7 +161,7 @@ settings:
allowedPasswordCharacters: '[\x21-\x7E]*'
# Keeps collisions disabled for logged players
# Works only with MC 1.9
KeepCollisionsDisabled: false
keepCollisionsDisabled: false
GameMode:
# ForceSurvivalMode to player when join ?
ForceSurvivalMode: false