Skip to content

Commit 5c7001a

Browse files
committed
Fix build
1 parent 4c221a0 commit 5c7001a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

leaf-server/src/main/java/org/dreeam/leaf/config/modules/network/ProtocolSupport.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,7 @@ public void onLoaded() {
4343
syncmaticaQuota = config.getBoolean(getBasePath() + ".syncmatica-quota", syncmaticaQuota);
4444
syncmaticaQuotaLimit = config.getInt(getBasePath() + ".syncmatica-quota-limit", syncmaticaQuotaLimit);
4545

46-
if (syncmaticaProtocol) {
47-
org.leavesmc.leaves.protocol.syncmatica.SyncmaticaProtocol.init();
48-
}
46+
org.leavesmc.leaves.protocol.syncmatica.SyncmaticaProtocol.init(syncmaticaProtocol);
4947

5048
doABarrelRollProtocol = config.getBoolean(getBasePath() + ".do-a-barrel-roll-protocol", doABarrelRollProtocol);
5149
doABarrelRollAllowThrusting = config.getBoolean(getBasePath() + ".do-a-barrel-roll-allow-thrusting", doABarrelRollAllowThrusting);

0 commit comments

Comments
 (0)