Fix 1.7 (pre UUID) compatibility

This commit is contained in:
Gabriele C
2016-08-04 12:01:30 +02:00
parent 5d6f3e1f06
commit 54c2d3e6e9
2 changed files with 4 additions and 4 deletions
@@ -26,7 +26,7 @@ public final class Utils {
// so we can have uuid support.
try {
return player.getUniqueId().toString();
} catch (Exception ignore) {
} catch (NoSuchMethodError ignore) {
return player.getName();
}
}