mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-08-03 13:05:29 +02:00
Fixes #287
This commit is contained in:
@@ -260,13 +260,13 @@ public class MainUtil {
|
|||||||
|
|
||||||
public static void update(final Plot plot) {
|
public static void update(final Plot plot) {
|
||||||
Location bot = getPlotBottomLoc(plot.world, plot.id).add(1, 0, 1);
|
Location bot = getPlotBottomLoc(plot.world, plot.id).add(1, 0, 1);
|
||||||
Location top = getPlotBottomLoc(plot.world, plot.id);
|
Location top = getPlotTopLoc(plot.world, plot.id);
|
||||||
|
|
||||||
int bx = bot.getX() >> 4;
|
int bx = bot.getX() >> 4;
|
||||||
int bz = bot.getZ() >> 4;
|
int bz = bot.getZ() >> 4;
|
||||||
|
|
||||||
int tx = 1 + (top.getX() >> 4);
|
int tx = (top.getX() >> 4);
|
||||||
int tz = 1 + (top.getZ() >> 4);
|
int tz = (top.getZ() >> 4);
|
||||||
|
|
||||||
ArrayList<ChunkLoc> chunks = new ArrayList<>();
|
ArrayList<ChunkLoc> chunks = new ArrayList<>();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user