diff --git a/common/pom.xml b/common/pom.xml index 1728682..0ba2a24 100644 --- a/common/pom.xml +++ b/common/pom.xml @@ -5,7 +5,7 @@ mineconfiguration-parent cc.carm.lib - 2.1.0 + 2.1.1 4.0.0 @@ -19,7 +19,7 @@ cc.carm.lib easyconfiguration-core - 3.2.0 + 3.2.1 compile diff --git a/platform/bukkit/base/pom.xml b/platform/bukkit/base/pom.xml index 7dfedb3..cc3bc34 100644 --- a/platform/bukkit/base/pom.xml +++ b/platform/bukkit/base/pom.xml @@ -5,7 +5,7 @@ mineconfiguration-bukkit-parent cc.carm.lib - 2.1.0 + 2.1.1 4.0.0 diff --git a/platform/bukkit/base/src/main/java/cc/carm/lib/mineconfiguration/bukkit/utils/ProtocolLibHelper.java b/platform/bukkit/base/src/main/java/cc/carm/lib/mineconfiguration/bukkit/utils/ProtocolLibHelper.java index 50ee566..c7899f0 100644 --- a/platform/bukkit/base/src/main/java/cc/carm/lib/mineconfiguration/bukkit/utils/ProtocolLibHelper.java +++ b/platform/bukkit/base/src/main/java/cc/carm/lib/mineconfiguration/bukkit/utils/ProtocolLibHelper.java @@ -7,11 +7,12 @@ import com.comphenix.protocol.events.PacketContainer; import com.comphenix.protocol.wrappers.EnumWrappers; import com.comphenix.protocol.wrappers.WrappedChatComponent; import org.bukkit.entity.Player; +import org.jetbrains.annotations.NotNull; public class ProtocolLibHelper { @SuppressWarnings("deprecation") - public static void sendTitle(Player player, long fadeIn, long stay, long fadeOut, String line1, String line2) throws Exception { + public static void sendTitle(@NotNull Player player, long fadeIn, long stay, long fadeOut, String line1, String line2) throws Exception { ProtocolManager pm = ProtocolLibrary.getProtocolManager(); if (line1 != null) { @@ -35,7 +36,6 @@ public class ProtocolLibHelper { .write(1, Math.toIntExact(stay)) .write(2, Math.toIntExact(fadeOut)); pm.sendServerPacket(player, timePacket, false); - } } diff --git a/platform/bukkit/general/pom.xml b/platform/bukkit/general/pom.xml index 2438685..83a7358 100644 --- a/platform/bukkit/general/pom.xml +++ b/platform/bukkit/general/pom.xml @@ -5,7 +5,7 @@ mineconfiguration-bukkit-parent cc.carm.lib - 2.1.0 + 2.1.1 4.0.0 diff --git a/platform/bukkit/pom.xml b/platform/bukkit/pom.xml index 9375caa..e6055ba 100644 --- a/platform/bukkit/pom.xml +++ b/platform/bukkit/pom.xml @@ -5,7 +5,7 @@ mineconfiguration-parent cc.carm.lib - 2.1.0 + 2.1.1 ../../pom.xml 4.0.0 @@ -24,6 +24,7 @@ + org.bukkit bukkit diff --git a/platform/bungee/pom.xml b/platform/bungee/pom.xml index 1344b85..8deddb4 100644 --- a/platform/bungee/pom.xml +++ b/platform/bungee/pom.xml @@ -5,7 +5,7 @@ mineconfiguration-parent cc.carm.lib - 2.1.0 + 2.1.1 ../../pom.xml 4.0.0 diff --git a/platform/spigot/pom.xml b/platform/spigot/pom.xml index 023ffb0..3d173d7 100644 --- a/platform/spigot/pom.xml +++ b/platform/spigot/pom.xml @@ -5,7 +5,7 @@ cc.carm.lib mineconfiguration-parent - 2.1.0 + 2.1.1 ../../pom.xml 4.0.0 diff --git a/pom.xml b/pom.xml index 7477587..eb6ad66 100644 --- a/pom.xml +++ b/pom.xml @@ -13,7 +13,7 @@ cc.carm.lib mineconfiguration-parent - 2.1.0 + 2.1.1 pom common