forked from TuxCoding/FastLogin
Simplify command handling
This commit is contained in:
+9
@@ -49,4 +49,13 @@ public class ChangePremiumMessage implements ChannelMessage {
|
||||
output.writeUTF(playerName);
|
||||
output.writeBoolean(isSourceInvoker);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return this.getClass().getSimpleName() + '{' +
|
||||
"playerName='" + playerName + '\'' +
|
||||
", willEnable=" + willEnable +
|
||||
", isSourceInvoker=" + isSourceInvoker +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
|
||||
@@ -19,4 +19,9 @@ public class SuccessMessage implements ChannelMessage {
|
||||
public void writeTo(ByteArrayDataOutput output) {
|
||||
//empty
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return this.getClass().getSimpleName() + "{}";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user