forked from MagicBane/Server
Handler created for TargetObjectMsg
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user