Cacti (Categorical Creative Inventory) Renewed

Cacti (Categorical Creative Inventory) Renewed

863 Downloads

Close and reopen creative inventory on the "survival inventory" tab results in a temporary blank creative inventory

yezhiyi9670 opened this issue ยท 1 comments

commented

Close and reopen creative inventory on the "survival inventory" tab, then a creative inventory without any tabs except "find item" and "survival inventory" will be displayed. Clicking any category on the left side will make the tabs work properly again.

commented
// Fix
		//   Close and reopen creative inventory on the "survival inventory" tab results \
		//   in a temporary blank creative inventory
		// https://github.com/yezhiyi9670/cacti-renewed/issues/2
		// Fixing behavior:
		//   If the player is detected to be selecting "INVENTORY" tab while opening creative inventory,
		//   the code will "click" on the selected category, and re-select the "INVENTORY" tab.

Fixed and tested in development environment. Pending final test.