diff --git a/pom.xml b/pom.xml index 788233f18..c5f80f960 100644 --- a/pom.xml +++ b/pom.xml @@ -169,6 +169,10 @@ io.github.thebusybiscuit.cscorelib2 me.mrCookieSlime.Slimefun.cscorelib2 + + io.papermc.lib + io.github.thebusybiscuit.slimefun4.libraries.paperlib + @@ -323,6 +327,12 @@ 1.7 compile + + io.papermc + paperlib + 1.0.4 + compile + @@ -339,6 +349,7 @@ + me.clip placeholderapi diff --git a/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/SlimefunPlugin.java b/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/SlimefunPlugin.java index 2fd70f896..3d8567458 100644 --- a/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/SlimefunPlugin.java +++ b/src/main/java/io/github/thebusybiscuit/slimefun4/implementation/SlimefunPlugin.java @@ -89,6 +89,7 @@ import io.github.thebusybiscuit.slimefun4.implementation.setup.SlimefunItemSetup import io.github.thebusybiscuit.slimefun4.implementation.tasks.ArmorTask; import io.github.thebusybiscuit.slimefun4.implementation.tasks.SlimefunStartupTask; import io.github.thebusybiscuit.slimefun4.implementation.tasks.TickerTask; +import io.papermc.lib.PaperLib; import me.mrCookieSlime.CSCoreLibPlugin.CSCoreLib; import me.mrCookieSlime.Slimefun.Objects.SlimefunItem.abstractItems.AContainer; import me.mrCookieSlime.Slimefun.Objects.SlimefunItem.abstractItems.AGenerator; @@ -164,6 +165,8 @@ public final class SlimefunPlugin extends JavaPlugin implements SlimefunAddon { } else if (getServer().getPluginManager().isPluginEnabled("CS-CoreLib")) { long timestamp = System.nanoTime(); + + PaperLib.suggestPaper(this); // We wanna ensure that the Server uses a compatible version of Minecraft if (isVersionUnsupported()) {