mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-12-29 12:37:37 +01:00
Removed the offline message "TODO" in User
Most of it will be handled by the Island history
This commit is contained in:
parent
0b62c7cf76
commit
245062b36e
@ -274,13 +274,8 @@ public class User {
|
||||
*/
|
||||
public void sendMessage(String reference, String... variables) {
|
||||
String message = getTranslation(reference, variables);
|
||||
if (!ChatColor.stripColor(message).trim().isEmpty()) {
|
||||
if (sender != null) {
|
||||
sender.sendMessage(message);
|
||||
} else {
|
||||
// TODO: Offline message
|
||||
// Save this message so the player can see it later
|
||||
}
|
||||
if (!ChatColor.stripColor(message).trim().isEmpty() && sender != null) {
|
||||
sender.sendMessage(message);
|
||||
}
|
||||
}
|
||||
|
||||
@ -291,9 +286,6 @@ public class User {
|
||||
public void sendRawMessage(String message) {
|
||||
if (sender != null) {
|
||||
sender.sendMessage(message);
|
||||
} else {
|
||||
// TODO: Offline message
|
||||
// Save this message so the player can see it later
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user