mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-04 06:28:53 +00:00
fix: Warning printing when there was no issue on party join/leave (#300)
This commit is contained in:
1 parent
520c02661c
commit
bbaa9403e7
1 file changed
+3
-1
@@ -243,7 +243,9 @@ public final class PartyImpl implements Party {
|
|||||||
changedPlayer.get().thenAccept(p -> {
|
changedPlayer.get().thenAccept(p -> {
|
||||||
notify.notify(p, this, player);
|
notify.notify(p, this, player);
|
||||||
}).whenComplete(($, thr) -> {
|
}).whenComplete(($, thr) -> {
|
||||||
this.logger.warn("Exception notifying members of party change", thr);
|
if (thr != null) {
|
||||||
|
this.logger.warn("Exception notifying members of party change", thr);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user