mirror of
https://github.com/FirephoenixX02/RapidReport.git
synced 2026-04-26 11:36:22 +02:00
Add GUI Command (WIP)
This commit is contained in:
parent
a1c29905d4
commit
0533afc77a
1 changed files with 0 additions and 3 deletions
|
|
@ -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() + "<red>This command can only be executed by a player.");
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Inventory inventory = new Inventory(InventoryType.GENERIC_9X4);
|
||||
inventory.title(ChatElement.ofLegacyText("§9Inventory"));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue