mirror of
https://github.com/Aust1n46/VentureChat.git
synced 2025-12-13 13:44:52 +00:00
Remove login/logout message that was missed.
This commit is contained in:
@@ -95,11 +95,5 @@ public class LoginListener implements Listener {
|
||||
}
|
||||
}, delayInTicks);
|
||||
}
|
||||
if(!plugin.getConfig().getConfigurationSection("login").getString("message", "Default").equalsIgnoreCase("Default")) {
|
||||
event.setJoinMessage(Format.FormatStringAll(plugin.getConfig().getConfigurationSection("login").getString("message", "Default").replace("{player}", event.getPlayer().getName())));
|
||||
}
|
||||
if(!plugin.getConfig().getConfigurationSection("login").getBoolean("enabled", true)) {
|
||||
event.setJoinMessage("");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user