use of riskyken.armourersWorkshop.client.gui.armourer.GuiArmourer in project Armourers-Workshop by RiskyKen.
the class GuiTabArmourerMain method onDropDownListChanged.
@Override
public void onDropDownListChanged(GuiDropDownList dropDownList) {
DropDownListItem listItem = dropDownList.getListSelectedItem();
ISkinType skinType = SkinTypeRegistry.INSTANCE.getSkinTypeFromRegistryName(listItem.tag);
((GuiArmourer) parent).skinTypeUpdate(skinType);
PacketHandler.networkWrapper.sendToServer(new MessageClientGuiSetArmourerSkinType(skinType));
}
Aggregations