Add sponge / bukkit jars

This commit is contained in:
boy0001
2015-07-27 16:20:24 +10:00
parent ed7a720470
commit 7fb06d624b
3 changed files with 34 additions and 1 deletions

View File

@ -201,7 +201,7 @@ public class PS {
log("&8 - &3Or: &7" + url);
}
else if (LAST_VERSION != null && !VERSION.equals(LAST_VERSION)) {
log("&aThanks for updating from: " + LAST_VERSION + " to " + VERSION);
log("&aThanks for updating from: " + LAST_VERSION + " to " + StringMan.join(VERSION, "."));
}
}
});

View File

@ -1,5 +1,6 @@
package com.intellectualcrafters.plot.util;
import java.util.Arrays;
import java.util.Collection;
import java.util.Map;
import java.util.Map.Entry;
@ -160,6 +161,10 @@ public class StringMan {
return result.toString();
}
public static String join(int[] array, String delimiter) {
return join(Arrays.asList(array), delimiter);
}
public static boolean isEqual(String a, String b ) {
return (a == b || (a.length() == b.length() && a.hashCode() == b.hashCode() && a.equals(b)));
}