From 185352d3cfd88d3d71d4700d535759cf46f68d6e Mon Sep 17 00:00:00 2001 From: Jesse Boyd Date: Wed, 29 Jun 2016 15:23:10 +1000 Subject: [PATCH] Fixes #1229 --- .../java/com/plotsquared/bukkit/uuid/FileUUIDHandler.java | 2 +- .../java/com/intellectualcrafters/plot/UpdaterTest.java | 7 ++----- build.gradle | 2 +- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/Bukkit/src/main/java/com/plotsquared/bukkit/uuid/FileUUIDHandler.java b/Bukkit/src/main/java/com/plotsquared/bukkit/uuid/FileUUIDHandler.java index f55b67175..07973e585 100644 --- a/Bukkit/src/main/java/com/plotsquared/bukkit/uuid/FileUUIDHandler.java +++ b/Bukkit/src/main/java/com/plotsquared/bukkit/uuid/FileUUIDHandler.java @@ -108,7 +108,7 @@ public class FileUUIDHandler extends UUIDHandlerImplementation { toAdd.put(new StringWrapper(name), uuid); } } - } catch (IOException e) { + } catch (Exception e) { e.printStackTrace(); PS.debug(C.PREFIX + "Invalid playerdata: " + current); } diff --git a/Core/src/test/java/com/intellectualcrafters/plot/UpdaterTest.java b/Core/src/test/java/com/intellectualcrafters/plot/UpdaterTest.java index 71e53bb22..45317e964 100644 --- a/Core/src/test/java/com/intellectualcrafters/plot/UpdaterTest.java +++ b/Core/src/test/java/com/intellectualcrafters/plot/UpdaterTest.java @@ -1,18 +1,15 @@ package com.intellectualcrafters.plot; -import static com.intellectualcrafters.plot.PS.log; - import com.intellectualcrafters.json.JSONArray; import com.intellectualcrafters.json.JSONObject; import com.intellectualcrafters.plot.util.StringMan; -import org.junit.Test; - import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.net.MalformedURLException; import java.net.URL; import java.util.Arrays; +import org.junit.Test; public class UpdaterTest { @@ -30,7 +27,7 @@ public class UpdaterTest { return buffer.toString(); } catch (IOException e) { - log("&dCould not check for updates (0)"); + System.out.println("&dCould not check for updates (0)"); e.printStackTrace(); } finally { try { diff --git a/build.gradle b/build.gradle index 9c1ebc179..576d06dbb 100644 --- a/build.gradle +++ b/build.gradle @@ -19,7 +19,7 @@ ext { git = Grgit.open() revision = "-${git.head().abbreviatedId}" } -version = "3.4.4-SNAPSHOT;${revision}" +version = "3.4.4-SNAPSHOT-${revision}" description = """PlotSquared""" subprojects {