WorldProperties: Small cleanup

Dieser Commit ist enthalten in:
Moulberry 2023-11-16 22:36:12 +08:00
Ursprung bf43e7c0b9
Commit b6afa50b04

Datei anzeigen

@ -42,13 +42,13 @@ public class ServerWorldPropertyHolder<T> {
if (result.isUpdate()) {
this.value = newValue;
if (!result.isSync()) {
if (result.isSync()) {
this.sync(world);
} else {
this.unsyncedValue = true;
}
}
if (result.isSync()) {
this.sync(world);
}
}
public void setValueWithoutSyncing(T value) {