public GuiRecordTrading(InventoryPlayer player, IMerchant merchant, World world) { super(new ContainerRecordTrading(player, merchant, world)); this.theIMerchant = merchant; this.storeId = CustomRecordHelper.getStoreID(((Entity) merchant).entityId); this.recordList = CustomRecordHelper.getStoreCatalog(this.storeId); }
public InventoryRecordTrading(EntityPlayer par1EntityPlayer, IMerchant merchant) { this.theMerchant = merchant; this.storeId = CustomRecordHelper.getStoreID(((Entity) merchant).entityId); }