mirror of
https://github.com/GeorgH93/Minepacks.git
synced 2024-11-14 10:45:23 +01:00
Fix default permissions on Paper and update to 2.4.17
This commit is contained in:
parent
0b42ed3e8f
commit
389f5da5a7
@ -17,6 +17,7 @@
|
||||
|
||||
package at.pcgamingfreaks.Minepacks.Bukkit;
|
||||
|
||||
import at.pcgamingfreaks.Bukkit.Config.PermissionLoader;
|
||||
import at.pcgamingfreaks.Bukkit.MCVersion;
|
||||
import at.pcgamingfreaks.Bukkit.ManagedUpdater;
|
||||
import at.pcgamingfreaks.Bukkit.Message.Message;
|
||||
@ -34,6 +35,7 @@
|
||||
import at.pcgamingfreaks.Minepacks.Bukkit.SpecialInfoWorker.NoDatabaseWorker;
|
||||
import at.pcgamingfreaks.Minepacks.MagicValues;
|
||||
import at.pcgamingfreaks.Plugin.IPlugin;
|
||||
import at.pcgamingfreaks.ServerType;
|
||||
import at.pcgamingfreaks.StringUtils;
|
||||
import at.pcgamingfreaks.Updater.UpdateResponseCallback;
|
||||
import at.pcgamingfreaks.Version;
|
||||
@ -102,6 +104,11 @@ public void onEnable()
|
||||
|
||||
if(!checkPCGF_PluginLib()) return;
|
||||
|
||||
if (MCVersion.isNewerOrEqualThan(MCVersion.MC_1_19_3) && ServerType.isPaperCompatible())
|
||||
{
|
||||
PermissionLoader.loadPermissionsFromPlugin(this);
|
||||
}
|
||||
|
||||
updater = new ManagedUpdater(this);
|
||||
instance = this;
|
||||
config = new Config(this);
|
||||
|
Loading…
Reference in New Issue
Block a user