This commit is contained in:
filoghost 2020-06-07 12:24:02 +02:00
parent 40f0851884
commit e513505663
3 changed files with 2 additions and 1 deletions

View File

@ -25,7 +25,6 @@ import org.bukkit.inventory.meta.LeatherArmorMeta;
import org.bukkit.inventory.meta.SkullMeta;
import me.filoghost.chestcommands.ChestCommands;
import me.filoghost.chestcommands.util.Utils;
import me.filoghost.chestcommands.variable.VariableManager;
import java.util.ArrayList;

View File

@ -38,6 +38,7 @@ public class BarAPIBridge {
return barAPI != null;
}
@SuppressWarnings("deprecation")
public static void setMessage(Player player, String message, int seconds) {
if (!hasValidPlugin()) throw new IllegalStateException("BarAPI plugin was not found!");

View File

@ -37,6 +37,7 @@ public class CommandHandler extends CommandFramework {
this.menuManager = menuManager;
}
@SuppressWarnings("deprecation")
@Override
public void execute(CommandSender sender, String label, String[] args) {
if (args.length == 0) {