mirror of
https://github.com/Aust1n46/VentureChat.git
synced 2025-05-22 18:09:06 +00:00
Remove login/logout message that was missed.
This commit is contained in:
parent
06f51aea91
commit
086c23a0a9
@ -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("");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user