Compare commits
3 Commits
256fd80cb1
...
82937ce092
Author | SHA1 | Date |
---|---|---|
ch4ika | 82937ce092 | |
renovate[bot] | c57d784df7 | |
ch4ika | f62e8a6f22 |
|
@ -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<Location> result) {
|
||||
BlockLoc home = this.getPosition();
|
||||
if (home == null || home.getX() == 0 && home.getZ() == 0) {
|
||||
if (home == null) {
|
||||
this.getDefaultHome(result);
|
||||
} else {
|
||||
if (!isLoaded()) {
|
||||
|
|
|
@ -37,7 +37,7 @@ shadow = "8.1.1"
|
|||
grgit = "4.1.1"
|
||||
spotless = "6.25.0"
|
||||
nexus = "2.0.0"
|
||||
runPaper = "2.2.3"
|
||||
runPaper = "2.2.4"
|
||||
|
||||
[libraries]
|
||||
# Platform expectations
|
||||
|
|
Loading…
Reference in New Issue