ForgePatch/common/net/minecraftforge/event/CommandEvent.java

22 lines
515 B
Java
Raw Normal View History

2012-08-15 09:01:38 +00:00
package net.minecraftforge.event;
2012-12-13 05:58:35 +00:00
import net.minecraft.command.ICommand;
import net.minecraft.command.ICommandSender;
2012-08-15 09:01:38 +00:00
@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;
}
}