Skip to content

Commit

Permalink
修复领地传送点异常bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ColdeZhang committed Jul 6, 2024
1 parent 0e1eb53 commit 32c730e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/cn/lunadeer/dominion/dtos/DominionDTO.java
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ public DominionDTO setXYZ(Integer x1, Integer y1, Integer z1, Integer x2, Intege
}

public Location getTpLocation() {
if (Objects.equals(tp_location, "default")) {
if (Objects.equals(tp_location.value, "default")) {
return null;
} else {
// 0:0:0
Expand Down

0 comments on commit 32c730e

Please sign in to comment.