From f62e8a6f228ddb29c81a7e00d387113674e2085a Mon Sep 17 00:00:00 2001 From: ch4ika Date: Sun, 18 Feb 2024 10:35:40 +0100 Subject: [PATCH] fix-home-corner-teleport --- Core/src/main/java/com/plotsquared/core/plot/Plot.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Core/src/main/java/com/plotsquared/core/plot/Plot.java b/Core/src/main/java/com/plotsquared/core/plot/Plot.java index 67db8a698..a166b0fbb 100644 --- a/Core/src/main/java/com/plotsquared/core/plot/Plot.java +++ b/Core/src/main/java/com/plotsquared/core/plot/Plot.java @@ -1407,7 +1407,7 @@ public class Plot { @Deprecated public Location getHomeSynchronous() { BlockLoc home = this.getPosition(); - if (home == null || home.getX() == 0 && home.getZ() == 0) { + if (home == null) { return this.getDefaultHomeSynchronous(true); } else { Location bottom = this.getBottomAbs(); @@ -1439,7 +1439,7 @@ public class Plot { */ public void getHome(final Consumer result) { BlockLoc home = this.getPosition(); - if (home == null || home.getX() == 0 && home.getZ() == 0) { + if (home == null) { this.getDefaultHome(result); } else { if (!isLoaded()) {