Create a default option for pushing
This commit is contained in:
parent
448dd06104
commit
e1cd672207
@ -146,7 +146,8 @@ public class DisguiseConfig {
|
|||||||
setDisabledInvisibility(config.getBoolean("DisableInvisibility"));
|
setDisabledInvisibility(config.getBoolean("DisableInvisibility"));
|
||||||
|
|
||||||
try {
|
try {
|
||||||
disablePushing = DisguisePushing.valueOf(config.getString("DisablePushing").toUpperCase());
|
disablePushing = DisguisePushing
|
||||||
|
.valueOf(config.getString("DisablePushing", DisguisePushing.MODIFY.name()).toUpperCase());
|
||||||
}
|
}
|
||||||
catch (Exception ex) {
|
catch (Exception ex) {
|
||||||
System.out.println("[LibsDisguises] Cannot parse '" + config.getString("SelfDisguisesTeams")
|
System.out.println("[LibsDisguises] Cannot parse '" + config.getString("SelfDisguisesTeams")
|
||||||
|
Loading…
Reference in New Issue
Block a user