Handler created for TargetObjectMsg

This commit is contained in:
2024-03-27 13:15:06 -04:00
parent a1f233723f
commit ac92d69914
5 changed files with 50 additions and 23 deletions
@@ -24,7 +24,7 @@ public class TargetObjectMsg extends ClientNetMsg {
* This is the general purpose constructor.
*/
public TargetObjectMsg(int targetType, int targetID) {
super(Protocol.SETSELECTEDOBECT);
super(Protocol.TARGETOBJECT);
this.targetType = targetType;
this.targetID = targetID;
}
@@ -33,7 +33,7 @@ public class TargetObjectMsg extends ClientNetMsg {
* This is the general purpose constructor.
*/
public TargetObjectMsg() {
super(Protocol.SETSELECTEDOBECT);
super(Protocol.TARGETOBJECT);
}
/**
@@ -43,7 +43,7 @@ public class TargetObjectMsg extends ClientNetMsg {
* caller.
*/
public TargetObjectMsg(AbstractConnection origin, ByteBufferReader reader) {
super(Protocol.SETSELECTEDOBECT, origin, reader);
super(Protocol.TARGETOBJECT, origin, reader);
}
/**