use of riskyken.armourersWorkshop.common.network.messages.server.MessageServerSendSkinData in project Armourers-Workshop by RiskyKen.
the class CommonSkinCache method sendSkinToClient.
private void sendSkinToClient(Skin skin, SkinRequestMessage requestMessage) {
SkinIdentifier requestIdentifier = (SkinIdentifier) requestMessage.getSkinIdentifier();
skin.requestId = requestIdentifier;
PacketHandler.networkWrapper.sendTo(new MessageServerSendSkinData(requestIdentifier, getFullIdentifier(skin, requestIdentifier), skin), requestMessage.getPlayer());
}
Aggregations