From b06999f2beeb9f1a1f80eaec888c6fdb6b90e75a Mon Sep 17 00:00:00 2001 From: boy0001 Date: Tue, 17 Mar 2015 19:38:06 +1100 Subject: [PATCH] javadoc --- PlotSquared/pom.xml | 11 +---------- .../com/intellectualcrafters/plot/BukkitMain.java | 3 +++ 2 files changed, 4 insertions(+), 10 deletions(-) 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)));