mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 21:26:45 +01:00
Fixes #287
This commit is contained in:
parent
75e45de780
commit
0bd716bb63
@ -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<>();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user