修复领地传送点异常bug
All checks were successful
Java CI-CD with Maven / build (push) Successful in 7m55s

This commit is contained in:
zhangyuheng 2024-07-06 20:11:07 +08:00
parent 0e1eb53465
commit 32c730e28c
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@
<groupId>cn.lunadeer</groupId>
<artifactId>Dominion</artifactId>
<version>1.35.5-beta</version>
<version>1.35.6-beta</version>
<packaging>jar</packaging>
<name>Dominion</name>

View File

@ -374,7 +374,7 @@ public class DominionDTO {
}
public Location getTpLocation() {
if (Objects.equals(tp_location, "default")) {
if (Objects.equals(tp_location.value, "default")) {
return null;
} else {
// 0:0:0