globalscore condition doesn't work with Random Spawns
Summary
I was doing a random spawn, which works fine without adding the globalscore condition, when adding this condition and giving it a value manually with commands inside minecraft sometimes it works and other times it doesn't (most of the time it doesn't work)
Steps to reproduce
1.- Download the plugin and I did tests with the manual configuration.
2.- Edit the Random Spawner file adding the condition "- globalscore{o=test;value=>10} true"
3.- In minecraft perform the following commands:
/scoreboard objectives add test dummy
/scoreboard players set __GLOBAL__ test 10
4.- The random spawn of the mob is not activated.
I also tried changing the logical condition (>, <, >= ,<= ,=)
I carried out multiple tests and there were occasions where the spawner did work and others where it did not work with the condition. In the console I do not receive any error regarding this.
Also the wiki explanation appears as fake player "GLOBAL" instead of __GLOBAL__
https://git.mythiccraft.io/mythiccraft/MythicMobs/-/wikis/Skills/conditions/globalscore
Current behavior
N/A The server works perfectly as well as the mobs
Intended correct behavior
If the given scoreboard meets the value of the condition the mob should spawn.
Server log file
Debug log snippet
Proposed fixes
I think the problem is in how the globalscore function obtains the value of the minecraft scoreboard, I'm not sure but possibly it takes the value as a String instead of an Integer, since the operators (>, <, >= ,<=) didn't work in my tests, when I got it to work was when I placed the operator "="