Skip to content

Close non-InvUI containers before opening a window - #131

Open
R00tB33rMan wants to merge 1 commit into
NichtStudioCode:mainfrom
MagnoliaLLC:fix/foreign-container-close
Open

R00tB33rMan wants to merge 1 commit into
NichtStudioCode:mainfrom
MagnoliaLLC:fix/foreign-container-close

Conversation

@R00tB33rMan

Copy link
Copy Markdown

Opening a window over a container InvUI didn't open (like a crafting table) replaced it without closing it, so no close event was called and the crafting grid and cursor items were lost.

Opening a window replaced a container that wasn't opened by InvUI (e.g. a crafting table) without closing it, so no InventoryCloseEvent was called and the items in its crafting grid and on the cursor were lost.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant