This commit is contained in:
ch4ika 2024-05-13 19:20:35 +00:00 committed by GitHub
commit 546ca86856
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -1394,7 +1394,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();
@ -1426,7 +1426,7 @@ public class Plot {
*/
public void getHome(final Consumer<Location> result) {
BlockLoc home = this.getPosition();
if (home == null || home.getX() == 0 && home.getZ() == 0) {
if (home == null) {
this.getDefaultHome(result);
} else {
if (!isLoaded()) {