mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-09-16 08:57:59 +02: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);
|
preventOtherCase = configFile.getBoolean("settings.preventOtherCase", false);
|
||||||
kickPlayersBeforeStopping = configFile.getBoolean("Security.stop.kickPlayersBeforeStopping", true);
|
kickPlayersBeforeStopping = configFile.getBoolean("Security.stop.kickPlayersBeforeStopping", true);
|
||||||
sendPlayerTo = configFile.getString("Hooks.sendPlayerTo", "");
|
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"
|
"Works only with MC 1.9"
|
||||||
})
|
})
|
||||||
public static final Property<Boolean> KEEP_COLLISIONS_DISABLED =
|
public static final Property<Boolean> KEEP_COLLISIONS_DISABLED =
|
||||||
newProperty("settings.KeepCollisionsDisabled", false);
|
newProperty("settings.restrictions.keepCollisionsDisabled", false);
|
||||||
|
|
||||||
private PluginSettings() {
|
private PluginSettings() {
|
||||||
}
|
}
|
||||||
|
@ -161,7 +161,7 @@ settings:
|
|||||||
allowedPasswordCharacters: '[\x21-\x7E]*'
|
allowedPasswordCharacters: '[\x21-\x7E]*'
|
||||||
# Keeps collisions disabled for logged players
|
# Keeps collisions disabled for logged players
|
||||||
# Works only with MC 1.9
|
# Works only with MC 1.9
|
||||||
KeepCollisionsDisabled: false
|
keepCollisionsDisabled: false
|
||||||
GameMode:
|
GameMode:
|
||||||
# ForceSurvivalMode to player when join ?
|
# ForceSurvivalMode to player when join ?
|
||||||
ForceSurvivalMode: false
|
ForceSurvivalMode: false
|
||||||
|
Loading…
Reference in New Issue
Block a user