Lag Caused by NBT Configurations
Caltinor opened this issue ยท 0 comments
Describe the bug
When multiple items using NBT reqs/bonuses are equipped, the game starts to lag.
Expected behavior
no lag
To Reproduce
Steps to reproduce the behavior:
- wear a full set of leather armor with a dye so it uses the full logic
- see lag
Versions:
- Minecraft: 1.19.2
- Loader: 43.1.47
- PMMO: 1.19-0.5.5
Additional context
The fix is to cache the results using an NBT hash and compare the hashed NBT to see if a reevaluation of the item is required.