mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-08-09 14:03:22 +00:00
Trying to reduce reliance on Bukkit
This commit is contained in:
parent
2b229f49d1
commit
904b75a7cd
36 changed files with 494 additions and 416 deletions
|
@ -51,7 +51,7 @@ public class ClusterManager {
|
|||
} else {
|
||||
toReturn = getClusterBottom(cluster).add(home.x, home.y, home.z);
|
||||
}
|
||||
final int max = BukkitUtil.getHeighestBlock(cluster.world, toReturn.getX(), toReturn.getZ());
|
||||
final int max = MainUtil.getHeighestBlock(cluster.world, toReturn.getX(), toReturn.getZ());
|
||||
if (max > toReturn.getY()) {
|
||||
toReturn.setY(max);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue