mirror of
https://github.com/filoghost/ChestCommands.git
synced 2024-11-26 12:05:45 +01:00
Cleanup
This commit is contained in:
parent
40f0851884
commit
e513505663
@ -25,7 +25,6 @@ import org.bukkit.inventory.meta.LeatherArmorMeta;
|
|||||||
import org.bukkit.inventory.meta.SkullMeta;
|
import org.bukkit.inventory.meta.SkullMeta;
|
||||||
|
|
||||||
import me.filoghost.chestcommands.ChestCommands;
|
import me.filoghost.chestcommands.ChestCommands;
|
||||||
import me.filoghost.chestcommands.util.Utils;
|
|
||||||
import me.filoghost.chestcommands.variable.VariableManager;
|
import me.filoghost.chestcommands.variable.VariableManager;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
@ -38,6 +38,7 @@ public class BarAPIBridge {
|
|||||||
return barAPI != null;
|
return barAPI != null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@SuppressWarnings("deprecation")
|
||||||
public static void setMessage(Player player, String message, int seconds) {
|
public static void setMessage(Player player, String message, int seconds) {
|
||||||
if (!hasValidPlugin()) throw new IllegalStateException("BarAPI plugin was not found!");
|
if (!hasValidPlugin()) throw new IllegalStateException("BarAPI plugin was not found!");
|
||||||
|
|
||||||
|
@ -37,6 +37,7 @@ public class CommandHandler extends CommandFramework {
|
|||||||
this.menuManager = menuManager;
|
this.menuManager = menuManager;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@SuppressWarnings("deprecation")
|
||||||
@Override
|
@Override
|
||||||
public void execute(CommandSender sender, String label, String[] args) {
|
public void execute(CommandSender sender, String label, String[] args) {
|
||||||
if (args.length == 0) {
|
if (args.length == 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user