mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-06-29 04:04:43 +02:00
Console for every command (we will test what works)
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user