Combat#getWildernessLevel()
Description of the bug (be specific):
How often the bug occurs: Everytime the method is called inside the wilderness.
Triggers of the bug (if known): The interface text has changed I
Java version: 8
Max Heap Size:
TRiBot client version: 14.0.1
Looking Glass (yes/no): yes
Operating System: Windows
TRiBot Old-School or RS3: osrs
Error:
java.lang.NumberFormatException: For input string: "42<br>54-126" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Integer.parseInt(Integer.java:580) at java.lang.Integer.parseInt(Integer.java:615) at org.tribot.api2007.Combat.getWildernessLevel(ai:541)
More information: Runelite now adds the max and min combat levels of which you can be attacked from inside the wilderness level interface. The trimming goes wrong inside the Combat#getWildernessLevel() method due more text is added to this interface (new plugin)
screenshot: https://i.imgur.com/50FAHpT.png
Simple fix would just to disable the plugin inside Runelite before you start the script but I don't think that's a very user-friendly idea in general since script users aren't always aware of certain issues.