mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-08-06 04:23:26 +00:00
Console for every command (we will test what works)
This commit is contained in:
parent
3a15254d8d
commit
8344903c50
40 changed files with 40 additions and 40 deletions
|
@ -78,7 +78,7 @@ public class MainUtil {
|
|||
|
||||
public static Location getPlotCenter(Plot plot) {
|
||||
Location bot = getPlotBottomLoc(plot.world, plot.id);
|
||||
Location top = getPlotBottomLoc(plot.world, plot.id).add(1, 0, 1);
|
||||
Location top = getPlotTopLoc(plot.world, plot.id).add(1, 0, 1);
|
||||
return new Location(plot.world, bot.getX() + (top.getX() - bot.getX()) / 2, 0, bot.getZ() + (top.getZ() - bot.getZ()) / 2);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue