handle more network enums
This commit is contained in:
parent
797cda06ad
commit
244b0f42b1
@ -178,6 +178,17 @@ public class AttackTree {
|
||||
EntityUtils.getPosition(parent).set(message.getpositionX(),message.getpositionY(),message.getpositionZ());
|
||||
CreatureUtils.setFacingVector(parent, new Vector3d(message.getrotationX(),message.getrotationY(),message.getrotationZ()));
|
||||
break;
|
||||
case ATTACHENTITYTOENTITY:
|
||||
case CREATE:
|
||||
case DESTROY:
|
||||
case MOVE:
|
||||
case MOVEUPDATE:
|
||||
case SETBEHAVIORTREE:
|
||||
case SETFACING:
|
||||
case SETPOSITION:
|
||||
case SETPROPERTY:
|
||||
//silently ignore
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -86,6 +86,17 @@ public class IdleTree {
|
||||
EntityUtils.getPosition(parent).set(message.getpositionX(),message.getpositionY(),message.getpositionZ());
|
||||
CreatureUtils.setFacingVector(parent, new Vector3d(message.getrotationX(),message.getrotationY(),message.getrotationZ()));
|
||||
break;
|
||||
case ATTACHENTITYTOENTITY:
|
||||
case CREATE:
|
||||
case DESTROY:
|
||||
case MOVE:
|
||||
case MOVEUPDATE:
|
||||
case SETBEHAVIORTREE:
|
||||
case SETFACING:
|
||||
case SETPOSITION:
|
||||
case SETPROPERTY:
|
||||
//silently ignore
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user