From cf70efabb0f1b3b3d4b6828423bd35a3985ee508 Mon Sep 17 00:00:00 2001 From: dordsor21 Date: Fri, 11 Dec 2020 16:51:13 +0000 Subject: [PATCH] we want throwable to be null --- .../main/java/com/plotsquared/core/listener/PlotListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/src/main/java/com/plotsquared/core/listener/PlotListener.java b/Core/src/main/java/com/plotsquared/core/listener/PlotListener.java index c33ce1746..a6ae2b415 100644 --- a/Core/src/main/java/com/plotsquared/core/listener/PlotListener.java +++ b/Core/src/main/java/com/plotsquared/core/listener/PlotListener.java @@ -303,7 +303,7 @@ public class PlotListener { userConsumer.accept(MINI_MESSAGE.stripTokens(TranslatableCaption.of("info.server").getComponent(player))); } else { PlotSquared.get().getImpromptuUUIDPipeline().getSingle(plot.getOwner(), (user, throwable) -> { - if (throwable == null) { + if (throwable != null) { userConsumer.accept("Unknown"); } else { userConsumer.accept(user);