mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-26 15:16:45 +01:00
Fix plot home being underground
This commit is contained in:
parent
315223f779
commit
94a113ea4d
@ -900,7 +900,8 @@ import java.util.UUID;
|
||||
return new Location(w, bot.getBlockX() + (x / 2), y, bot.getBlockZ() + (z / 2));
|
||||
}
|
||||
else {
|
||||
return bot.add(home.x, home.y, home.z);
|
||||
final int y = getHeighestBlock(w, home.x, home.z);
|
||||
return bot.add(home.x, home.y + y, home.z);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user