Skip to content

Preserve oversized stacks during legacy item recovery - #27

Merged
SkyBlade1978 merged 1 commit into
MinecraftModDevelopmentMods:master-1.21.1-neofrom
SkyBlade1978:master-1.21.1-neo
Nov 24, 2026
Merged

SkyBlade1978 merged 1 commit into
MinecraftModDevelopmentMods:master-1.21.1-neofrom
SkyBlade1978:master-1.21.1-neo

Conversation

@SkyBlade1978

Copy link
Copy Markdown
Collaborator

Fix a server crash when a storage mod holds more than 99 items in one stack. Ordinary stacks that need no recovery are left alone; legacy recovery inspects a one-item copy and retains the storage handler's original count, names and components.

Validated with 138 unit tests, standalone client/server fresh loads and reloads, older-world fixtures, and dedicated and integrated WolfPack tests using Sophisticated Storage and stacks of 1,895 items. The released jar reproduces the reported failure; this candidate preserves the items through save and reload. Build, resources, Javadocs, Eclipse isolation, artifact audits and repeated-build checks pass. Manual testing is complete.

Version: 0.3.12.121012. Registry IDs, configuration, saved-data schema and migration counters remain unchanged.

@SkyBlade1978
SkyBlade1978 merged commit 6b5c1ae into MinecraftModDevelopmentMods:master-1.21.1-neo Nov 24, 2026
6 checks passed
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