ForgePatch/common/net/minecraftforge/event/CommandEvent.java
2012-08-15 02:01:38 -07:00

21 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;
}
}