From 4152582ae088de36812e59f4522eb514aab41945 Mon Sep 17 00:00:00 2001 From: Sauilitired Date: Mon, 1 Apr 2019 08:35:06 +0200 Subject: [PATCH] Fix UUID related NPE --- .../intellectualsites/plotsquared/plot/util/UUIDHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/src/main/java/com/github/intellectualsites/plotsquared/plot/util/UUIDHandler.java b/Core/src/main/java/com/github/intellectualsites/plotsquared/plot/util/UUIDHandler.java index 930411c32..52e65a3fd 100644 --- a/Core/src/main/java/com/github/intellectualsites/plotsquared/plot/util/UUIDHandler.java +++ b/Core/src/main/java/com/github/intellectualsites/plotsquared/plot/util/UUIDHandler.java @@ -100,7 +100,7 @@ public class UUIDHandler { if (implementation == null) { return null; } - if (uuid.equals(DBFunc.SERVER)) { + if (uuid != null && uuid.equals(DBFunc.SERVER)) { return Captions.SERVER.s(); } return implementation.getName(uuid);