mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2024-12-23 00:15:06 +00:00
Fix a few encapsulate merge issues
This commit is contained in:
parent
099a680c85
commit
7841ee3dcc
3 changed files with 7 additions and 7 deletions
|
@ -468,8 +468,8 @@ import java.util.zip.ZipInputStream;
|
|||
return;
|
||||
}
|
||||
File file = new File(
|
||||
this.IMP.getDirectory() + File.separator + "persistent_regen_data_" + plotArea.id + "_"
|
||||
+ plotArea.worldname);
|
||||
this.IMP.getDirectory() + File.separator + "persistent_regen_data_" + plotArea.getId() + "_"
|
||||
+ plotArea.getWorldName());
|
||||
if (!file.exists()) {
|
||||
return;
|
||||
}
|
||||
|
@ -485,7 +485,7 @@ import java.util.zip.ZipInputStream;
|
|||
int height = (int) list.get(2);
|
||||
PlotSquared.log(
|
||||
Captions.PREFIX + "Incomplete road regeneration found. Restarting in world "
|
||||
+ plotArea.worldname + " with height " + height + ".");
|
||||
+ plotArea.getWorldName() + " with height " + height + ".");
|
||||
PlotSquared.debug(" Regions: " + regions.size());
|
||||
PlotSquared.debug(" Chunks: " + chunks.size());
|
||||
HybridUtils.UPDATE = true;
|
||||
|
@ -496,7 +496,7 @@ import java.util.zip.ZipInputStream;
|
|||
} finally {
|
||||
if (!file.delete()) {
|
||||
PlotSquared.log(
|
||||
Captions.PREFIX + "Error deleting persistent_regen_data_" + plotArea.id
|
||||
Captions.PREFIX + "Error deleting persistent_regen_data_" + plotArea.getId()
|
||||
+ ". Please manually delete this file.");
|
||||
}
|
||||
}
|
||||
|
@ -1563,7 +1563,7 @@ import java.util.zip.ZipInputStream;
|
|||
list.add(chunks);
|
||||
list.add(HybridUtils.height);
|
||||
File file = new File(this.IMP.getDirectory() + File.separator + "persistent_regen_data_"
|
||||
+ HybridUtils.area.id + "_" + HybridUtils.area.worldname);
|
||||
+ HybridUtils.area.getId() + "_" + HybridUtils.area.getWorldName());
|
||||
if (file.exists() && !file.delete()) {
|
||||
PlotSquared.log(Captions.PREFIX
|
||||
+ "persistent_regen_data file already exists and could not be deleted.");
|
||||
|
|
|
@ -124,7 +124,7 @@ public class HybridPlotManager extends ClassicPlotManager {
|
|||
if (biome != null) {
|
||||
queue.setBiome(x, z, biome);
|
||||
} else {
|
||||
queue.setBiome(x, z, hybridPlotWorld.PLOT_BIOME);
|
||||
queue.setBiome(x, z, hybridPlotWorld.getPlotBiome());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -621,7 +621,7 @@ public abstract class HybridUtils {
|
|||
finalZ + Z + plotWorld.ROAD_OFFSET_Z, biome);
|
||||
} else {
|
||||
queue.setBiome(finalX + X + plotWorld.ROAD_OFFSET_X,
|
||||
finalZ + Z + plotWorld.ROAD_OFFSET_Z, plotWorld.PLOT_BIOME);
|
||||
finalZ + Z + plotWorld.ROAD_OFFSET_Z, plotWorld.getPlotBiome());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue