From 8b6cc7a193f3b3bc40b03b74517a481cc3db88f9 Mon Sep 17 00:00:00 2001 From: Jesse Boyd Date: Fri, 29 Sep 2017 23:23:40 +1000 Subject: [PATCH] * --- .../main/java/com/intellectualcrafters/plot/commands/Auto.java | 2 +- .../main/java/com/intellectualcrafters/plot/object/Plot.java | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/Core/src/main/java/com/intellectualcrafters/plot/commands/Auto.java b/Core/src/main/java/com/intellectualcrafters/plot/commands/Auto.java index d94188609..aa875e0ff 100644 --- a/Core/src/main/java/com/intellectualcrafters/plot/commands/Auto.java +++ b/Core/src/main/java/com/intellectualcrafters/plot/commands/Auto.java @@ -231,7 +231,7 @@ public class Auto extends SubCommand { }); } - private static void autoClaimFromDatabase(final PlotPlayer player, final PlotArea area, PlotId start, final RunnableVal whenDone) { + public static void autoClaimFromDatabase(final PlotPlayer player, final PlotArea area, PlotId start, final RunnableVal whenDone) { final Plot plot = area.getNextFreePlot(player, start); if (plot == null) { whenDone.run(null); diff --git a/Core/src/main/java/com/intellectualcrafters/plot/object/Plot.java b/Core/src/main/java/com/intellectualcrafters/plot/object/Plot.java index 771c5cdbf..7a17edcb8 100644 --- a/Core/src/main/java/com/intellectualcrafters/plot/object/Plot.java +++ b/Core/src/main/java/com/intellectualcrafters/plot/object/Plot.java @@ -1147,10 +1147,8 @@ public class Plot { public Location getHome() { BlockLoc home = this.getPosition(); if (home == null || home.x == 0 && home.z == 0) { - System.out.println("Default"); return this.getDefaultHome(true); } else { - System.out.println("Custom"); Location bot = this.getBottomAbs(); Location loc = new Location(bot.getWorld(), bot.getX() + home.x, bot.getY() + home.y, bot.getZ() + home.z, home.yaw, home.pitch); if (!isLoaded()) return loc;