mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 14:38:52 +00:00
Properly initialize redis listener
This commit is contained in:
1 parent
60f894a006
commit
0bfc2faf2d
2 files changed
+9
-4
No files matched your search
@@ -15,7 +15,7 @@ public class RedisReceiver {
|
||||
|
||||
public static final String REDIS_CHANNEL = "HuskHomes";
|
||||
|
||||
public static Player getRandomReceiver() {
|
||||
private static Player getRandomReceiver() {
|
||||
ArrayList<Player> players = new ArrayList<>(Bukkit.getOnlinePlayers());
|
||||
if (players.isEmpty()) {
|
||||
return null;
|
||||
|
||||
Reference in new issue
Block a user