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;
|
package at.pcgamingfreaks.Minepacks.Bukkit;
|
||||||
|
|
||||||
|
import at.pcgamingfreaks.Bukkit.Config.PermissionLoader;
|
||||||
import at.pcgamingfreaks.Bukkit.MCVersion;
|
import at.pcgamingfreaks.Bukkit.MCVersion;
|
||||||
import at.pcgamingfreaks.Bukkit.ManagedUpdater;
|
import at.pcgamingfreaks.Bukkit.ManagedUpdater;
|
||||||
import at.pcgamingfreaks.Bukkit.Message.Message;
|
import at.pcgamingfreaks.Bukkit.Message.Message;
|
||||||
@ -34,6 +35,7 @@
|
|||||||
import at.pcgamingfreaks.Minepacks.Bukkit.SpecialInfoWorker.NoDatabaseWorker;
|
import at.pcgamingfreaks.Minepacks.Bukkit.SpecialInfoWorker.NoDatabaseWorker;
|
||||||
import at.pcgamingfreaks.Minepacks.MagicValues;
|
import at.pcgamingfreaks.Minepacks.MagicValues;
|
||||||
import at.pcgamingfreaks.Plugin.IPlugin;
|
import at.pcgamingfreaks.Plugin.IPlugin;
|
||||||
|
import at.pcgamingfreaks.ServerType;
|
||||||
import at.pcgamingfreaks.StringUtils;
|
import at.pcgamingfreaks.StringUtils;
|
||||||
import at.pcgamingfreaks.Updater.UpdateResponseCallback;
|
import at.pcgamingfreaks.Updater.UpdateResponseCallback;
|
||||||
import at.pcgamingfreaks.Version;
|
import at.pcgamingfreaks.Version;
|
||||||
@ -102,6 +104,11 @@ public void onEnable()
|
|||||||
|
|
||||||
if(!checkPCGF_PluginLib()) return;
|
if(!checkPCGF_PluginLib()) return;
|
||||||
|
|
||||||
|
if (MCVersion.isNewerOrEqualThan(MCVersion.MC_1_19_3) && ServerType.isPaperCompatible())
|
||||||
|
{
|
||||||
|
PermissionLoader.loadPermissionsFromPlugin(this);
|
||||||
|
}
|
||||||
|
|
||||||
updater = new ManagedUpdater(this);
|
updater = new ManagedUpdater(this);
|
||||||
instance = this;
|
instance = this;
|
||||||
config = new Config(this);
|
config = new Config(this);
|
||||||
|
2
pom.xml
2
pom.xml
@ -7,7 +7,7 @@
|
|||||||
<packaging>pom</packaging>
|
<packaging>pom</packaging>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<revision>2.4.16</revision>
|
<revision>2.4.17</revision>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user