mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-01-23 08:31:28 +01:00
Per-user toggles disabled by default
This commit is contained in:
parent
738efe8c50
commit
fcc7c3af78
@ -898,10 +898,10 @@ public abstract class UserData extends PlayerExtension implements IConf {
|
|||||||
save();
|
save();
|
||||||
}
|
}
|
||||||
|
|
||||||
private boolean confirmPay = true; // players accept pay confirmation by default
|
private boolean confirmPay = false; // players deny pay confirmation by default
|
||||||
|
|
||||||
public boolean _getConfirmPay() {
|
public boolean _getConfirmPay() {
|
||||||
return config.getBoolean("confirm-pay", true);
|
return config.getBoolean("confirm-pay", false);
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isPromptingPayConfirm() {
|
public boolean isPromptingPayConfirm() {
|
||||||
@ -914,10 +914,10 @@ public abstract class UserData extends PlayerExtension implements IConf {
|
|||||||
save();
|
save();
|
||||||
}
|
}
|
||||||
|
|
||||||
private boolean confirmClear = true; // players accept clear confirmation by default
|
private boolean confirmClear = false; // players deny clear confirmation by default
|
||||||
|
|
||||||
public boolean _getConfirmClear() {
|
public boolean _getConfirmClear() {
|
||||||
return config.getBoolean("confirm-clear", true);
|
return config.getBoolean("confirm-clear", false);
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isPromptingClearConfirm() {
|
public boolean isPromptingClearConfirm() {
|
||||||
|
Loading…
Reference in New Issue
Block a user