diff --git a/src/main/java/me/firephoenix/rapidreport/commands/ReportGUICommand.java b/src/main/java/me/firephoenix/rapidreport/commands/ReportGUICommand.java index f85dea3..94c11db 100644 --- a/src/main/java/me/firephoenix/rapidreport/commands/ReportGUICommand.java +++ b/src/main/java/me/firephoenix/rapidreport/commands/ReportGUICommand.java @@ -21,15 +21,12 @@ public class ReportGUICommand implements SimpleCommand { public void execute(final Invocation invocation) { CommandSource commandSource = invocation.source(); - String[] args = invocation.arguments(); - if (!(commandSource instanceof Player)) { commandSource.sendRichMessage(RapidReport.INSTANCE.getChatPrefix() + "This command can only be executed by a player."); return; } - Inventory inventory = new Inventory(InventoryType.GENERIC_9X4); inventory.title(ChatElement.ofLegacyText("ยง9Inventory"));