mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-03 06:28:54 +00:00
offline when vanished
This commit is contained in:
1 parent
12b40f8150
commit
2964e7ef09
1 file changed
+1
-1
@@ -34,7 +34,7 @@ public class WhisperCommand {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!recipient.online()) {
|
if (!recipient.online() || !sender.awareOf(recipient)) {
|
||||||
messageService.whisperTargetOffline(sender, CarbonPlayer.renderName(sender));
|
messageService.whisperTargetOffline(sender, CarbonPlayer.renderName(sender));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user