From 1bd7c8ca5fa1133c0be162b55b7e7caece9fd3b9 Mon Sep 17 00:00:00 2001 From: MattBDev <4009945+MattBDev@users.noreply.github.com> Date: Tue, 21 May 2019 18:50:52 -0400 Subject: [PATCH] Variable renames --- .../plot/generator/HybridPlotManager.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Core/src/main/java/com/github/intellectualsites/plotsquared/plot/generator/HybridPlotManager.java b/Core/src/main/java/com/github/intellectualsites/plotsquared/plot/generator/HybridPlotManager.java index 44e1d1705..93713ec9c 100644 --- a/Core/src/main/java/com/github/intellectualsites/plotsquared/plot/generator/HybridPlotManager.java +++ b/Core/src/main/java/com/github/intellectualsites/plotsquared/plot/generator/HybridPlotManager.java @@ -67,13 +67,13 @@ public class HybridPlotManager extends ClassicPlotManager { return true; } LocalBlockQueue queue = hpw.getQueue(false); - createSchemAbs(hpw, queue, pos1, pos2, true); + createSchemAbs(hpw, queue, pos1, pos2); queue.enqueue(); return true; } private void createSchemAbs(HybridPlotWorld hpw, LocalBlockQueue queue, Location pos1, - Location pos2, boolean clear) { + Location pos2) { int size = hpw.SIZE; int minY; if (Settings.Schematics.PASTE_ON_TOP) { @@ -119,7 +119,7 @@ public class HybridPlotManager extends ClassicPlotManager { return true; } LocalBlockQueue queue = hpw.getQueue(false); - createSchemAbs(hpw, queue, pos1, pos2, true); + createSchemAbs(hpw, queue, pos1, pos2); queue.enqueue(); return true; } @@ -134,9 +134,9 @@ public class HybridPlotManager extends ClassicPlotManager { pos1.setY(0); pos2.setY(Math.min(getWorldHeight(), 255)); LocalBlockQueue queue = hpw.getQueue(false); - createSchemAbs(hpw, queue, pos1, pos2, true); + createSchemAbs(hpw, queue, pos1, pos2); if (hpw.ROAD_SCHEMATIC_ENABLED) { - createSchemAbs(hpw, queue, pos1, pos2, true); + createSchemAbs(hpw, queue, pos1, pos2); } queue.enqueue(); return true; @@ -205,12 +205,12 @@ public class HybridPlotManager extends ClassicPlotManager { return true; } - public void pastePlotSchematic(HybridPlotWorld plotWorld, LocalBlockQueue queue, Location l1, - Location l2) { + public void pastePlotSchematic(HybridPlotWorld plotWorld, LocalBlockQueue queue, + Location bottom, Location top) { if (!plotWorld.PLOT_SCHEMATIC) { return; } - createSchemAbs(plotWorld, queue, l1, l2, false); + createSchemAbs(plotWorld, queue, bottom, top); } /**