The way it was being done before was the correct way, this commit https://github.com/runelite-extended/runelite/commit/d6285235cb836d90c09dae22e686a113bef88c4d actually broke it. So this reverts it back to the original method.
The way it was being done before was the correct way, this commit https://github.com/runelite-extended/runelite/commit/d6285235cb836d90c09dae22e686a113bef88c4d actually broke it. So this reverts it back to the original method.