mirror of
https://gitlab.com/phoenix-dvpmt/mmoitems.git
synced 2025-01-08 07:27:39 +01:00
Updated to fix AB issues latest MMOCore build
This commit is contained in:
parent
53ba24ada2
commit
592950d692
BIN
lib/MMOCore.jar
BIN
lib/MMOCore.jar
Binary file not shown.
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user