22 lines
507 B
Java
22 lines
507 B
Java
![]() |
package net.minecraftforge.event;
|
||
|
|
||
|
import net.minecraft.src.ICommand;
|
||
|
import net.minecraft.src.ICommandSender;
|
||
|
|
||
|
@Cancelable
|
||
|
public class CommandEvent extends Event
|
||
|
{
|
||
|
|
||
|
public final ICommand command;
|
||
|
public final ICommandSender sender;
|
||
|
public String[] parameters;
|
||
|
public Throwable exception;
|
||
|
|
||
|
public CommandEvent(ICommand command, ICommandSender sender, String[] parameters)
|
||
|
{
|
||
|
this.command = command;
|
||
|
this.sender = sender;
|
||
|
this.parameters = parameters;
|
||
|
}
|
||
|
}
|