fixed road schematics if data set in plotworld

This commit is contained in:
boy0001 2015-02-02 20:06:37 +11:00
parent 20a4dec7fe
commit eb5ae0ec3c
2 changed files with 2 additions and 1 deletions

View File

@ -217,6 +217,8 @@ public class HybridPlotWorld extends PlotWorld {
PlotMain.sendConsoleSenderMessage(C.PREFIX.s() + "&3 - schematic: &7false");
return;
}
// Do not populate road if using schematic population
this.ROAD_BLOCK = new PlotBlock(this.ROAD_BLOCK.id, (byte) 0);
DataCollection[] blocks1 = schem1.getBlockCollection();
DataCollection[] blocks2 = schem2.getBlockCollection();

View File

@ -135,7 +135,6 @@ public class HybridPop extends BlockPopulator {
HybridPlotManager manager = (HybridPlotManager) PlotMain.getPlotManager(w);
RegionWrapper plot = manager.CURRENT_PLOT_CLEAR;
if (plot != null) {
short sx = (short) ((X) % this.size);
short sz = (short) ((Z) % this.size);