Compare commits

...

3 Commits

Author SHA1 Message Date
ch4ika 82937ce092
Merge f62e8a6f22 into c57d784df7 2024-04-23 02:10:54 +00:00
renovate[bot] c57d784df7 Update dependency xyz.jpenilla.run-paper to v2.2.4 2024-04-23 02:10:41 +00:00
ch4ika f62e8a6f22 fix-home-corner-teleport 2024-02-18 10:35:40 +01:00
2 changed files with 3 additions and 3 deletions

View File

@ -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()) {

View File

@ -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