we want throwable to be null

This commit is contained in:
dordsor21
2020-12-11 16:51:13 +00:00
parent 6eb2958afc
commit cf70efabb0

View File

@ -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);