From 0533afc77a67315ec4ae84af0fdd7e8c4a4f6c3b Mon Sep 17 00:00:00 2001 From: FirephoenixX02 Date: Sun, 28 Apr 2024 18:05:06 +0200 Subject: [PATCH] Add GUI Command (WIP) --- .../me/firephoenix/rapidreport/commands/ReportGUICommand.java | 3 --- 1 file changed, 3 deletions(-) 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"));