Darkness
Darkness
(nothing to merge rn)
Why i did this? Because i want a custom gameOver listener in my plugin. There are no ways to remove default one. But now you can change it to anything....
A very useful feature - [x] I have read the [contribution guidelines](https://github.com/Anuken/Mindustry/blob/master/CONTRIBUTING.md). - [x] I have ensured that my code compiles, if applicable. - [x] I have ensured that any...
- [x] I have read the [contribution guidelines](https://github.com/Anuken/Mindustry/blob/master/CONTRIBUTING.md). - [x] I have ensured that my code compiles, if applicable. - [x] I have ensured that any new features in this...
I did a small refactoring, but didn't break the formatting. Also i added the ability for mods to change the default GameOverEvent listener so you can add a custom map...
For example i wanna use it in my plugin - [x] I have read the [contribution guidelines](https://github.com/Anuken/Mindustry/blob/master/CONTRIBUTING.md). - [x] I have ensured that my code compiles, if applicable. - [x]...
https://github.com/xzxADIxzx/Hex-Industry
for example i have some graphical things on my server and i wanna load those colors. I will simply use UI.loadColors();
Because it says "do not access directly" and i don't wanna use reflection  - [x] I have read the [contribution guidelines](https://github.com/Anuken/Mindustry/blob/master/CONTRIBUTING.md). - [x] I have ensured that my code...