diff --git a/src/main/java/com/moulberry/axiom/world_properties/server/ServerWorldPropertyHolder.java b/src/main/java/com/moulberry/axiom/world_properties/server/ServerWorldPropertyHolder.java index b2f90f7..58a9276 100644 --- a/src/main/java/com/moulberry/axiom/world_properties/server/ServerWorldPropertyHolder.java +++ b/src/main/java/com/moulberry/axiom/world_properties/server/ServerWorldPropertyHolder.java @@ -42,13 +42,13 @@ public class ServerWorldPropertyHolder { 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) {