From bf43e7c0b92b190414bb413367dcf100af716aa0 Mon Sep 17 00:00:00 2001 From: Moulberry Date: Thu, 16 Nov 2023 22:33:11 +0800 Subject: [PATCH] WorldProperties: Set unsyncedValue back to false after syncing --- .../world_properties/server/ServerWorldPropertyHolder.java | 2 ++ 1 file changed, 2 insertions(+) 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 210f23a..b2f90f7 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 @@ -77,6 +77,8 @@ public class ServerWorldPropertyHolder { player.sendPluginMessage(AxiomPaper.PLUGIN, "axiom:set_world_property", message); } } + + this.unsyncedValue = false; } public void write(FriendlyByteBuf friendlyByteBuf) {