use of riskyken.armourersWorkshop.common.network.messages.server.MessageServerEntitySkinData in project Armourers-Workshop by RiskyKen.
the class ExPropsEntityEquipmentData method sendEquipmentDataToPlayerToAllPlayersAround.
private void sendEquipmentDataToPlayerToAllPlayersAround() {
if (!allowNetworkUpdates) {
return;
}
TargetPoint p = new TargetPoint(entity.dimension, entity.posX, entity.posY, entity.posZ, 512);
PacketHandler.networkWrapper.sendToAllAround(new MessageServerEntitySkinData(equipmentData, entity.getEntityId()), p);
}
Aggregations