From 32c730e28c918b3a971c9b43d4ecef9028abd562 Mon Sep 17 00:00:00 2001 From: zhangyuheng Date: Sat, 6 Jul 2024 20:11:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=A2=86=E5=9C=B0=E4=BC=A0?= =?UTF-8?q?=E9=80=81=E7=82=B9=E5=BC=82=E5=B8=B8bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 2 +- src/main/java/cn/lunadeer/dominion/dtos/DominionDTO.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index e79a49a9..3f40e8ec 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ cn.lunadeer Dominion - 1.35.5-beta + 1.35.6-beta jar Dominion diff --git a/src/main/java/cn/lunadeer/dominion/dtos/DominionDTO.java b/src/main/java/cn/lunadeer/dominion/dtos/DominionDTO.java index c2c2a9e4..c31a1834 100644 --- a/src/main/java/cn/lunadeer/dominion/dtos/DominionDTO.java +++ b/src/main/java/cn/lunadeer/dominion/dtos/DominionDTO.java @@ -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