Fixed error reporter not being assigned properly.

This commit is contained in:
Kristian S. Stangeland 2012-11-20 06:33:54 +01:00
parent ac993896cc
commit 023c3908ae
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,8 @@ abstract class CommandBase implements CommandExecutor {
private String permission;
private String name;
private int minimumArgumentCount;
private ErrorReporter reporter;
protected ErrorReporter reporter;
public CommandBase(ErrorReporter reporter, String permission, String name) {
this(reporter, permission, name, 0);

View File

@ -65,7 +65,6 @@ class CommandPacket extends CommandBase {
private Plugin plugin;
private Logger logger;
private ErrorReporter reporter;
private ProtocolManager manager;
private ChatExtensions chatter;