diff --git a/lib/MMOCore.jar b/lib/MMOCore.jar index b6cbe2c5..af5cc3a5 100644 Binary files a/lib/MMOCore.jar and b/lib/MMOCore.jar differ diff --git a/src/main/java/net/Indyuce/mmoitems/api/util/message/PlayerMessage.java b/src/main/java/net/Indyuce/mmoitems/api/util/message/PlayerMessage.java index 65867578..80023921 100644 --- a/src/main/java/net/Indyuce/mmoitems/api/util/message/PlayerMessage.java +++ b/src/main/java/net/Indyuce/mmoitems/api/util/message/PlayerMessage.java @@ -5,7 +5,7 @@ import org.bukkit.ChatColor; import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; -import net.Indyuce.mmocore.MMOCore; +import net.Indyuce.mmocore.api.player.PlayerData; import net.Indyuce.mmoitems.MMOItems; public class PlayerMessage { @@ -38,7 +38,7 @@ public class PlayerMessage { if (MMOItems.plugin.getConfig().getBoolean("action-bar-display." + actionBarBooleanPath)) { if(Bukkit.getPluginManager().isPluginEnabled("MMOCore")) - MMOCore.plugin.pauseDefaultActionBar(player.getUniqueId(), 60); + PlayerData.get(player).setActionBarTimeOut(60); MMOItems.plugin.getNMS().sendActionBar(player, message); }