Memory leak in EventUtils
LemADEC opened this issue ยท 1 comments
General Information
Describe the bug:
A new ArrayList is created for every player every tick
From a quick check, this is doubled depending on OsmiumLutetium availability?
To Reproduce:
Profiling & Code review
Expected behavior:
Avoid memory allocation in event handlers.
Environment Versions
Versions:
- Metallurgy: 1.0.2
- Conflicting mod (if regarding mod integration): none
- Other mods you think could cause issues: none
- Forge: 14.23.5.2854
- Minecraft: 1.12.2
- Modpack (if available): https://www.curseforge.com/minecraft/modpacks/fsg-arcania-craft/files/3025855
Logging Information
Crash Report (if available):
n/a
Latest Log (if necessary):
n/a
Additional Information
Screenshots (if available):
n/a
Additional context (optional):
n/a