fixed plot home

This commit is contained in:
Jesse Boyd 2014-10-12 09:56:17 -07:00
parent 532cc72076
commit 34dd6c8107
2 changed files with 3 additions and 1 deletions

View File

@ -773,7 +773,7 @@ public class PlotHelper {
} }
public static Location getPlotHome(World w, Plot plot) { 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) { public static void refreshPlotChunks(World world, Plot plot) {

View File

@ -9,6 +9,7 @@ import org.bukkit.World;
import org.bukkit.block.Biome; import org.bukkit.block.Biome;
import org.bukkit.generator.BlockPopulator; import org.bukkit.generator.BlockPopulator;
import com.intellectualcrafters.plot.ConfigurationNode;
import com.intellectualcrafters.plot.PlotBlock; import com.intellectualcrafters.plot.PlotBlock;
import com.intellectualcrafters.plot.PlotGenerator; import com.intellectualcrafters.plot.PlotGenerator;
import com.intellectualcrafters.plot.PlotManager; import com.intellectualcrafters.plot.PlotManager;
@ -146,6 +147,7 @@ public class WorldGenerator extends PlotGenerator {
*/ */
public WorldGenerator(String world) { public WorldGenerator(String world) {
super(world); super(world);
this.plotsize = this.plotworld.PLOT_WIDTH; this.plotsize = this.plotworld.PLOT_WIDTH;
this.pathsize = this.plotworld.ROAD_WIDTH; this.pathsize = this.plotworld.ROAD_WIDTH;