diff --git a/PlotSquared/pom.xml b/PlotSquared/pom.xml index a0b2dbd92..ff6f30347 100644 --- a/PlotSquared/pom.xml +++ b/PlotSquared/pom.xml @@ -36,16 +36,7 @@ - - org.apache.maven.plugins - maven-javadoc-plugin - 2.10.1 - - public - false - -Xdoclint:none - - + maven-compiler-plugin 2.3.2 diff --git a/PlotSquared/src/main/java/com/intellectualcrafters/plot/BukkitMain.java b/PlotSquared/src/main/java/com/intellectualcrafters/plot/BukkitMain.java index afd1418e4..470e75d3b 100644 --- a/PlotSquared/src/main/java/com/intellectualcrafters/plot/BukkitMain.java +++ b/PlotSquared/src/main/java/com/intellectualcrafters/plot/BukkitMain.java @@ -112,6 +112,9 @@ public class BukkitMain extends JavaPlugin implements Listener, IPlotMain { @Override public void log(String message) { + if (message == null) { + return; + } message = message.replaceAll("\u00B2", "2"); if ((THIS == null) || (Bukkit.getServer().getConsoleSender() == null)) { System.out.println(ChatColor.stripColor(ConsoleColors.fromString(message)));