Separate login update check from general update check
This commit is contained in:
parent
522f20702d
commit
75545ac156
2 changed files with 2 additions and 1 deletions
|
|
@ -19,7 +19,7 @@ public class MainListener implements Listener {
|
|||
*/
|
||||
@EventHandler(priority = EventPriority.LOWEST)
|
||||
public void onPlayerJoin(PlayerJoinEvent event) {
|
||||
if (!config.getBoolean("settings.check-updates")) return;
|
||||
if (!config.getBoolean("settings.check-updates-login")) return;
|
||||
|
||||
Player player = event.getPlayer();
|
||||
if (player.hasPermission("serverutils.notification.update")) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue