mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-10 06:58:34 +00:00
feat: (Re-) Add update notifications (#1361)
* feat: (Re-) Add update notifications Fixes #1348 * Move update notification to seperate class - Add a couple of linebreaks to the chat messages
This commit is contained in:
@ -21,6 +21,7 @@ package com.sk89q.worldedit.bukkit;
|
||||
|
||||
import com.fastasyncworldedit.bukkit.BukkitPermissionAttachmentManager;
|
||||
import com.fastasyncworldedit.bukkit.FaweBukkit;
|
||||
import com.fastasyncworldedit.bukkit.util.UpdateNotification;
|
||||
import com.fastasyncworldedit.core.Fawe;
|
||||
import com.google.common.base.Joiner;
|
||||
import com.google.common.collect.ImmutableList;
|
||||
@ -223,6 +224,8 @@ public class WorldEditPlugin extends JavaPlugin {
|
||||
ServerLib.checkJavaLTS();
|
||||
// Check if we are in a safe environment
|
||||
ServerLib.checkUnsafeForks();
|
||||
// Check if a new build is available
|
||||
UpdateNotification.doUpdateCheck();
|
||||
}
|
||||
|
||||
private void setupPreWorldData() {
|
||||
|
Reference in New Issue
Block a user