forked from UnlegitDqrk/unlegitlibrary
Added command system
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
/*
|
||||
* Copyright (C) 2024 UnlegitDqrk - All Rights Reserved
|
||||
*
|
||||
* You are unauthorized to remove this copyright.
|
||||
* You have to give Credits to the Author in your project and link this GitHub site: https://github.com/UnlegitDqrk
|
||||
* See LICENSE-File if exists
|
||||
*/
|
||||
|
||||
package me.finn.unlegitlibrary.command.events;
|
||||
|
||||
import me.finn.unlegitlibrary.command.Command;
|
||||
import me.finn.unlegitlibrary.command.CommandExecutor;
|
||||
import me.finn.unlegitlibrary.command.CommandManager;
|
||||
import me.finn.unlegitlibrary.event.impl.Event;
|
||||
|
||||
public class CommandExecutedEvent extends Event {
|
||||
public final CommandManager commandManager;
|
||||
public final CommandExecutor commandExecutor;
|
||||
public final Command command;
|
||||
|
||||
public CommandExecutedEvent(CommandManager commandManager, CommandExecutor commandExecutor, Command command) {
|
||||
this.commandManager = commandManager;
|
||||
this.commandExecutor = commandExecutor;
|
||||
this.command = command;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user