diff --git a/src/main/java/world/bentobox/bentobox/util/IslandInfo.java b/src/main/java/world/bentobox/bentobox/util/IslandInfo.java index 5e3e76414..8ba3649b6 100644 --- a/src/main/java/world/bentobox/bentobox/util/IslandInfo.java +++ b/src/main/java/world/bentobox/bentobox/util/IslandInfo.java @@ -57,7 +57,7 @@ public class IslandInfo { try { String dateTimeFormat = plugin.getLocalesManager().get("commands.admin.info.last-login-date-time-format"); formattedDate = new SimpleDateFormat(dateTimeFormat).format(new Date(lastPlayed)); - } catch (NullPointerException | IllegalArgumentException ignored) { + } catch (Exception ignored) { formattedDate = new Date(lastPlayed).toString(); } user.sendMessage("commands.admin.info.last-login","[date]", formattedDate);