diff --git a/PlotSquared/src/main/java/com/intellectualcrafters/plot/uuid/OfflineUUIDWrapper.java b/PlotSquared/src/main/java/com/intellectualcrafters/plot/uuid/OfflineUUIDWrapper.java index 1c7013ee8..9851af247 100644 --- a/PlotSquared/src/main/java/com/intellectualcrafters/plot/uuid/OfflineUUIDWrapper.java +++ b/PlotSquared/src/main/java/com/intellectualcrafters/plot/uuid/OfflineUUIDWrapper.java @@ -25,7 +25,12 @@ public class OfflineUUIDWrapper extends UUIDWrapper { @Override public OfflinePlayer getOfflinePlayer(final UUID uuid) { final BiMap map = UUIDHandler.getUuidMap().inverse(); - final String name = map.get(uuid).value; + String name; + try { + name = map.get(uuid).value; + } catch (NullPointerException e) { + name = null; + } if (name != null) { return Bukkit.getOfflinePlayer(name); } else {