diff --git a/patches/server/0030-Leaves-Syncmatica-Protocol.patch b/patches/server/0030-Leaves-Syncmatica-Protocol.patch index 54b7756ac..5d027b478 100644 --- a/patches/server/0030-Leaves-Syncmatica-Protocol.patch +++ b/patches/server/0030-Leaves-Syncmatica-Protocol.patch @@ -9,7 +9,7 @@ Original project: https://github.com/LeavesMC/Leaves This patch is Powered by Syncmatica(https://github.com/End-Tech/syncmatica) diff --git a/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java b/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java -index 7c56e6bd76e8f8e5f9e925dc704be95e8a5532a1..bb3701298013bbdf3c6c43e23e2e422170c3efee 100644 +index 47f2568bacb06ffc7d756bbe2ea36ef9582dd4f2..23828b5d2300d64ac5a5c1a5da1bb1ee14f45d24 100644 --- a/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java +++ b/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java @@ -308,6 +308,7 @@ public class ServerGamePacketListenerImpl extends ServerCommonPacketListenerImpl @@ -30,7 +30,7 @@ index 7c56e6bd76e8f8e5f9e925dc704be95e8a5532a1..bb3701298013bbdf3c6c43e23e2e4221 public void tick() { if (this.ackBlockChangesUpTo > -1) { diff --git a/src/main/java/org/dreeam/leaf/LeafConfig.java b/src/main/java/org/dreeam/leaf/LeafConfig.java -index 5bd068203f787cba7e024bbb301065fd75d25f9e..318d41b0e1849a729fd32fe9c5842174d2b1d532 100644 +index 5bd068203f787cba7e024bbb301065fd75d25f9e..5dcc4f3c3752ae48cb6728fa8cfc384466c24da0 100644 --- a/src/main/java/org/dreeam/leaf/LeafConfig.java +++ b/src/main/java/org/dreeam/leaf/LeafConfig.java @@ -251,11 +251,20 @@ public class LeafConfig { @@ -45,9 +45,9 @@ index 5bd068203f787cba7e024bbb301065fd75d25f9e..318d41b0e1849a729fd32fe9c5842174 appleskinProtocol = getBoolean("network.protocol.appleskin-protocol", appleskinProtocol); xaeroMapProtocol = getBoolean("network.protocol.xaero-map-protocol", xaeroMapProtocol); xaeroMapServerID = getInt("network.protocol.xaero-map-server-id", xaeroMapServerID); -+ syncmaticaProtocol = getBoolean("settings.protocol.syncmatica.enable", syncmaticaProtocol); -+ syncmaticaQuota = getBoolean("settings.protocol.syncmatica.quota", syncmaticaQuota); -+ syncmaticaQuotaLimit = getInt("settings.protocol.syncmatica.quota-limit", syncmaticaQuotaLimit); ++ syncmaticaProtocol = getBoolean("network.protocol.syncmatica.enable", syncmaticaProtocol); ++ syncmaticaQuota = getBoolean("network.protocol.syncmatica.quota", syncmaticaQuota); ++ syncmaticaQuotaLimit = getInt("network.protocol.syncmatica.quota-limit", syncmaticaQuotaLimit); + if (syncmaticaProtocol) { + top.leavesmc.leaves.protocol.syncmatica.SyncmaticaProtocol.init(); + }