From 023c3908ae2d11fb879bd4dd56eb695d68001487 Mon Sep 17 00:00:00 2001 From: "Kristian S. Stangeland" Date: Tue, 20 Nov 2012 06:33:54 +0100 Subject: [PATCH] Fixed error reporter not being assigned properly. --- .../src/main/java/com/comphenix/protocol/CommandBase.java | 3 ++- .../src/main/java/com/comphenix/protocol/CommandPacket.java | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ProtocolLib/src/main/java/com/comphenix/protocol/CommandBase.java b/ProtocolLib/src/main/java/com/comphenix/protocol/CommandBase.java index 3128e6c5..7cda5346 100644 --- a/ProtocolLib/src/main/java/com/comphenix/protocol/CommandBase.java +++ b/ProtocolLib/src/main/java/com/comphenix/protocol/CommandBase.java @@ -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); diff --git a/ProtocolLib/src/main/java/com/comphenix/protocol/CommandPacket.java b/ProtocolLib/src/main/java/com/comphenix/protocol/CommandPacket.java index dbe85114..d609bf4e 100644 --- a/ProtocolLib/src/main/java/com/comphenix/protocol/CommandPacket.java +++ b/ProtocolLib/src/main/java/com/comphenix/protocol/CommandPacket.java @@ -65,7 +65,6 @@ class CommandPacket extends CommandBase { private Plugin plugin; private Logger logger; - private ErrorReporter reporter; private ProtocolManager manager; private ChatExtensions chatter;