use of com.almuradev.almura.feature.exchange.client.gui.ExchangeManagementScreen in project Almura by AlmuraDev.
the class ClientExchangeManager method handleExchangeRegistry.
/**
* Handlers
*/
public void handleExchangeRegistry(final Set<Exchange> exchanges) {
this.putExchanges(exchanges);
final GuiScreen currentScreen = Minecraft.getMinecraft().currentScreen;
if (currentScreen instanceof ExchangeManagementScreen) {
((ExchangeManagementScreen) currentScreen).refresh();
}
}
Aggregations