forgotten comment

This commit is contained in:
Bierque Jason 2023-04-15 16:24:35 +02:00
parent 53a3e9a050
commit 409e3b1839
1 changed files with 1 additions and 0 deletions

View File

@ -126,6 +126,7 @@ public class Vault extends JavaPlugin {
// Schedule to check the version every 30 minutes for an update. This is to update the most recent
// version so if an admin reconnects they will be warned about newer versions.
Executors.newSingleThreadExecutor().execute(() -> {
// Programmatically set the default permission value cause Bukkit doesn't handle plugin.yml properly for Load order STARTUP plugins
org.bukkit.permissions.Permission perm = getServer().getPluginManager().getPermission("vault.update");
if (perm == null)
{