更新版本 v1.2.1 -> v1.2.2

修复客户端同步bug
This commit is contained in:
叁玖领域 2026-03-07 14:51:57 +08:00
parent 0e846b98a0
commit e6465233fb
3 changed files with 4 additions and 2 deletions

View File

@ -59,7 +59,7 @@ mod_name=Super Lead Rope
# The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default. # The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default.
mod_license=GPLv3 mod_license=GPLv3
# The mod version. See https://semver.org/ # The mod version. See https://semver.org/
mod_version=1.2.1 mod_version=1.2.2
# The group ID for the mod. It is only important when publishing as an artifact to a Maven repository. # The group ID for the mod. It is only important when publishing as an artifact to a Maven repository.
# This should match the base package used for the mod sources. # This should match the base package used for the mod sources.
# See https://maven.apache.org/guides/mini/guide-naming-conventions.html # See https://maven.apache.org/guides/mini/guide-naming-conventions.html

View File

@ -15,6 +15,7 @@
package top.r3944realms.superleadrope.api.workspace; package top.r3944realms.superleadrope.api.workspace;
import org.jetbrains.annotations.ApiStatus;
import top.r3944realms.superleadrope.api.SuperLeadRopeApi; import top.r3944realms.superleadrope.api.SuperLeadRopeApi;
import java.util.ServiceLoader; import java.util.ServiceLoader;
@ -22,6 +23,7 @@ import java.util.ServiceLoader;
/** /**
* The type Services. * The type Services.
*/ */
@ApiStatus.Internal
public class Services { public class Services {
/** /**
* The constant WORK_SPACE. * The constant WORK_SPACE.

View File

@ -663,7 +663,7 @@ public class LeashConfigManager {
maxLeashLength = tag.getDouble("max_leash_length"); maxLeashLength = tag.getDouble("max_leash_length");
} }
if (tag.contains("max_movement", Tag.TAG_DOUBLE)) { if (tag.contains("max_movement", Tag.TAG_DOUBLE)) {
maxLeashLength = tag.getDouble("max_movement"); maxMovement = tag.getDouble("max_movement");
} }
if (tag.contains("elastic_distance_scale", Tag.TAG_DOUBLE)) { if (tag.contains("elastic_distance_scale", Tag.TAG_DOUBLE)) {
elasticDistanceScale = tag.getDouble("elastic_distance_scale"); elasticDistanceScale = tag.getDouble("elastic_distance_scale");