Handler created for UseCharterMsg
This commit is contained in:
@@ -35,11 +35,11 @@ public class UseCharterMsg extends ClientNetMsg {
|
||||
* This is the general purpose constructor.
|
||||
*/
|
||||
public UseCharterMsg() {
|
||||
super(Protocol.ACTIVATECHARTER);
|
||||
super(Protocol.USECHARTER);
|
||||
}
|
||||
|
||||
public UseCharterMsg(PlayerCharacter player, boolean close) {
|
||||
super(Protocol.ACTIVATECHARTER);
|
||||
super(Protocol.USECHARTER);
|
||||
this.close = close;
|
||||
this.player = player;
|
||||
|
||||
@@ -52,7 +52,7 @@ public class UseCharterMsg extends ClientNetMsg {
|
||||
* caller.
|
||||
*/
|
||||
public UseCharterMsg(AbstractConnection origin, ByteBufferReader reader) {
|
||||
super(Protocol.ACTIVATECHARTER, origin, reader);
|
||||
super(Protocol.USECHARTER, origin, reader);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user