if (event.getAction() != EntityUpdateEvent.UpdateAction.TRANSFORM || event.isFullSync() || event.getEntity() != getOwner()) {
return;
}
Transform live = event.getTransform();
if (first) {
PlayerSpawnPositionMessage pspMsg = new PlayerSpawnPositionMessage((int) live.getPosition().getX(), (int) live.getPosition().getY(), (int) live.getPosition().getZ(), getRepositionManager());
event.getMessages().add(pspMsg);
first = false;
}
Point p = event.getTransform().getPosition();
Quaternionf rot = event.getTransform().getRotation();