Mirror von
https://github.com/Moulberry/AxiomPaperPlugin.git
synchronisiert 2024-11-08 17:40:04 +01:00
WorldProperties: Small cleanup
Dieser Commit ist enthalten in:
Ursprung
bf43e7c0b9
Commit
b6afa50b04
@ -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) {
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren