From 34dd6c8107be3d8054493c721fa43879b47dea63 Mon Sep 17 00:00:00 2001 From: Jesse Boyd Date: Sun, 12 Oct 2014 09:56:17 -0700 Subject: [PATCH] fixed plot home --- PlotSquared/src/com/intellectualcrafters/plot/PlotHelper.java | 2 +- .../com/intellectualcrafters/plot/generator/WorldGenerator.java | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/PlotSquared/src/com/intellectualcrafters/plot/PlotHelper.java b/PlotSquared/src/com/intellectualcrafters/plot/PlotHelper.java index 2d2e40368..4dca5b010 100644 --- a/PlotSquared/src/com/intellectualcrafters/plot/PlotHelper.java +++ b/PlotSquared/src/com/intellectualcrafters/plot/PlotHelper.java @@ -773,7 +773,7 @@ public class PlotHelper { } public static Location getPlotHome(World w, Plot plot) { - return getPlotBottomLoc(w, plot.id); + return getPlotHome(w, plot.id); } public static void refreshPlotChunks(World world, Plot plot) { diff --git a/PlotSquared/src/com/intellectualcrafters/plot/generator/WorldGenerator.java b/PlotSquared/src/com/intellectualcrafters/plot/generator/WorldGenerator.java index 79a1ed591..b7844da51 100644 --- a/PlotSquared/src/com/intellectualcrafters/plot/generator/WorldGenerator.java +++ b/PlotSquared/src/com/intellectualcrafters/plot/generator/WorldGenerator.java @@ -9,6 +9,7 @@ import org.bukkit.World; import org.bukkit.block.Biome; import org.bukkit.generator.BlockPopulator; +import com.intellectualcrafters.plot.ConfigurationNode; import com.intellectualcrafters.plot.PlotBlock; import com.intellectualcrafters.plot.PlotGenerator; import com.intellectualcrafters.plot.PlotManager; @@ -146,6 +147,7 @@ public class WorldGenerator extends PlotGenerator { */ public WorldGenerator(String world) { super(world); + this.plotsize = this.plotworld.PLOT_WIDTH; this.pathsize = this.plotworld.ROAD_WIDTH;