mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-25 14:46:45 +01:00
we want throwable to be null
This commit is contained in:
parent
6eb2958afc
commit
cf70efabb0
@ -303,7 +303,7 @@ public class PlotListener {
|
|||||||
userConsumer.accept(MINI_MESSAGE.stripTokens(TranslatableCaption.of("info.server").getComponent(player)));
|
userConsumer.accept(MINI_MESSAGE.stripTokens(TranslatableCaption.of("info.server").getComponent(player)));
|
||||||
} else {
|
} else {
|
||||||
PlotSquared.get().getImpromptuUUIDPipeline().getSingle(plot.getOwner(), (user, throwable) -> {
|
PlotSquared.get().getImpromptuUUIDPipeline().getSingle(plot.getOwner(), (user, throwable) -> {
|
||||||
if (throwable == null) {
|
if (throwable != null) {
|
||||||
userConsumer.accept("Unknown");
|
userConsumer.accept("Unknown");
|
||||||
} else {
|
} else {
|
||||||
userConsumer.accept(user);
|
userConsumer.accept(user);
|
||||||
|
Loading…
Reference in New Issue
Block a user