Chest Tracker

Chest Tracker

355k Downloads

Orebfuscator causes containers to be cleared from memory erroneously

rosacarmesin opened this issue ยท 1 comments

commented

When loading containers obfuscated by Orebfuscator or opening the mod's menu with them loaded the memory gets progressively cleared until all obfuscated containers are forgotten, furthermore as Orebfuscator is an extremely common plugin this might also be related to #14 #61 etc. Possible cause is MemoryUtils.checkExistsInWorld + MemoryDatabase.findItems would also explain logs lacking any oddities as the code would be working as written

Steps to reproduce: open a test server with orebfuscator set to obfuscate chests/barrels, place a few chests/barrels with items down and open them, unload the chunk and come back while outside of orebfuscator range

tested in 1.18 in a server with only ProtocolLib (dependency for Orebfuscator) and Orebfuscator itself, same error does not occur when Orebfuscator is removed

sorry for the lengthy issue, but I hope it helps

commented

Same issue here