mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-11-05 01:59:34 +01:00
Fix disable collisions setting
This commit is contained in:
parent
c46c1251d9
commit
ba217a2595
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -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() {
|
||||
}
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user