Skip to content

Fix tile data saving - #42

Merged
Dream-Master merged 1 commit into
masterfrom
fix-items-missing
Nov 19, 2025
Merged

Fix tile data saving#42
Dream-Master merged 1 commit into
masterfrom
fix-items-missing

Conversation

@cubefury

Copy link
Copy Markdown
Collaborator

Currently, the tile isn't marked for saving when the slot contents changed, potentially causing items to go missing or items to dupe if the server closes too soon after interacting with the vending machine.

This PR aims to fix this by marking the tile as dirty to minecraft anytime the inventory changes, or when the internal item dispensing buffer changes.

@cubefury
cubefury requested a review from a team November 19, 2025 12:45
@cubefury

Copy link
Copy Markdown
Collaborator Author

Tested in SP and MP on daily 214.

@Dream-Master
Dream-Master merged commit 9b24840 into master Nov 19, 2025
1 check passed
@Dream-Master
Dream-Master deleted the fix-items-missing branch November 19, 2025 17:20
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.

3 participants