|
|
@ -19,13 +19,7 @@ import java.util.UUID; |
|
|
|
import java.util.function.BiConsumer; |
|
|
|
import java.util.function.BiConsumer; |
|
|
|
import java.util.logging.Logger; |
|
|
|
import java.util.logging.Logger; |
|
|
|
|
|
|
|
|
|
|
|
public class Messenger { |
|
|
|
public record Messenger(Logger logger) { |
|
|
|
|
|
|
|
|
|
|
|
private final Logger logger; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Messenger(Logger logger){ |
|
|
|
|
|
|
|
this.logger = logger; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private List<Player> playersToSendLogs() { |
|
|
|
private List<Player> playersToSendLogs() { |
|
|
|
List<Player> players = Sharehealth.GetPlayers(); |
|
|
|
List<Player> players = Sharehealth.GetPlayers(); |
|
|
|