Handler created for UseCharterMsg
This commit is contained in:
1 parent
68ae9c1b97
commit
5cfbd9998c
4 files changed
+41
-11
No files matched your search
@@ -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