Handler created for UseCharterMsg

This commit is contained in:
2024-03-27 13:29:33 -04:00
parent 68ae9c1b97
commit 5cfbd9998c
4 changed files with 41 additions and 11 deletions
+3 -3
View File
@@ -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);
}
/**