Ogod, it’s even worse than I expected! That proxy is caching the item ID from the ore dictionary of the given items… which change when loading other worlds, wtf…
How… like… who wrote this and how did they not know how this stuff works this poorly… o.O