This commit is contained in:
Jesse Boyd 2016-06-29 15:23:10 +10:00
parent f4fe762135
commit 185352d3cf
3 changed files with 4 additions and 7 deletions

View File

@ -108,7 +108,7 @@ public class FileUUIDHandler extends UUIDHandlerImplementation {
toAdd.put(new StringWrapper(name), uuid); toAdd.put(new StringWrapper(name), uuid);
} }
} }
} catch (IOException e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
PS.debug(C.PREFIX + "Invalid playerdata: " + current); PS.debug(C.PREFIX + "Invalid playerdata: " + current);
} }

View File

@ -1,18 +1,15 @@
package com.intellectualcrafters.plot; package com.intellectualcrafters.plot;
import static com.intellectualcrafters.plot.PS.log;
import com.intellectualcrafters.json.JSONArray; import com.intellectualcrafters.json.JSONArray;
import com.intellectualcrafters.json.JSONObject; import com.intellectualcrafters.json.JSONObject;
import com.intellectualcrafters.plot.util.StringMan; import com.intellectualcrafters.plot.util.StringMan;
import org.junit.Test;
import java.io.BufferedReader; import java.io.BufferedReader;
import java.io.IOException; import java.io.IOException;
import java.io.InputStreamReader; import java.io.InputStreamReader;
import java.net.MalformedURLException; import java.net.MalformedURLException;
import java.net.URL; import java.net.URL;
import java.util.Arrays; import java.util.Arrays;
import org.junit.Test;
public class UpdaterTest { public class UpdaterTest {
@ -30,7 +27,7 @@ public class UpdaterTest {
return buffer.toString(); return buffer.toString();
} catch (IOException e) { } catch (IOException e) {
log("&dCould not check for updates (0)"); System.out.println("&dCould not check for updates (0)");
e.printStackTrace(); e.printStackTrace();
} finally { } finally {
try { try {

View File

@ -19,7 +19,7 @@ ext {
git = Grgit.open() git = Grgit.open()
revision = "-${git.head().abbreviatedId}" revision = "-${git.head().abbreviatedId}"
} }
version = "3.4.4-SNAPSHOT;${revision}" version = "3.4.4-SNAPSHOT-${revision}"
description = """PlotSquared""" description = """PlotSquared"""
subprojects { subprojects {