mirror of
https://github.com/LeavesMC/Leaves.git
synced 2025-12-29 11:59:17 +00:00
fix: fix bot command register
This commit is contained in:
@@ -135,7 +135,7 @@ public final class LeavesConfig {
|
||||
private static class FakeplayerValidator extends BooleanConfigValidator {
|
||||
@Override
|
||||
public void verify(Boolean old, Boolean value) throws IllegalArgumentException {
|
||||
if (old == null || old.equals(value)) {
|
||||
if (value.equals(old)) {
|
||||
return;
|
||||
}
|
||||
if (value) {
|
||||
|
||||
Reference in New Issue
Block a user