Nevermind, managed to solve it on my own.
My cables were referring back to the hub, so the hub got itself in its list of things to find the charge of, which resulted in a loop.
While using a lang file and the TextFormatting enum is the proper way to do this, it should still be possible to use formatting codes inline. Your issue was probably happening because your code wasn't saved or compiled as UTF-8.
1
point
Important Information
By using this site, you agree to our Terms of Use.