mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-02-10 02:37:12 +07:00
Create FileTreeInitEvent (#4489)
* filetree init event * actions do your thing
This commit is contained in:
parent
8704e14fd7
commit
2589a27cb5
@ -68,6 +68,8 @@ public class EventType{
|
||||
public static class ContentInitEvent{}
|
||||
/** Called when the client game is first loaded. */
|
||||
public static class ClientLoadEvent{}
|
||||
/** Called *after* all the modded files have been added into Vars.tree */
|
||||
public static class FileTreeInitEvent{}
|
||||
/** Called when a game begins and the world is loaded. */
|
||||
public static class WorldLoadEvent{}
|
||||
|
||||
|
@ -347,6 +347,7 @@ public class Mods implements Loadable{
|
||||
}
|
||||
}
|
||||
}
|
||||
Events.fire(new FileTreeInitEvent());
|
||||
|
||||
//add new keys to each bundle
|
||||
I18NBundle bundle = Core.bundle;
|
||||
|
Loading…
Reference in New Issue
Block a user