mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-22 17:27:38 +00:00
Fix P2 clear area
This commit is contained in:
parent
3564059a96
commit
28837c7106
@ -43,7 +43,7 @@ import static org.bukkit.Bukkit.getWorld;
|
||||
|
||||
public class FaweRegionManager extends RegionManager {
|
||||
|
||||
private RegionManager parent;
|
||||
private final RegionManager parent;
|
||||
|
||||
public FaweRegionManager(RegionManager parent) {
|
||||
this.parent = parent;
|
||||
@ -116,7 +116,7 @@ public class FaweRegionManager extends RegionManager {
|
||||
final BiomeType biome = hybridPlotWorld.getPlotBiome();
|
||||
|
||||
BlockVector3 pos1 = BlockVector3.ZERO;
|
||||
BlockVector3 pos2 = BlockVector3.at(hybridPlotWorld.PLOT_WIDTH, 255, hybridPlotWorld.PLOT_WIDTH);
|
||||
BlockVector3 pos2 = BlockVector3.at(hybridPlotWorld.PLOT_WIDTH - 1, 255, hybridPlotWorld.PLOT_WIDTH - 1);
|
||||
|
||||
Region bedrockRegion = new CuboidRegion(pos1, pos2.withY(0));
|
||||
Region fillingRegion = new CuboidRegion(pos1.withY(1), pos2.withY(hybridPlotWorld.PLOT_HEIGHT - 1));
|
||||
|
Loading…
Reference in New Issue
Block a user