Close and reopen creative inventory on the "survival inventory" tab results in a temporary blank creative inventory
yezhiyi9670 opened this issue ยท 1 comments
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.
// 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.