mirror of
https://github.com/yawaflua/Informatis.git
synced 2025-12-10 03:59:26 +02:00
item record
This commit is contained in:
@@ -3,6 +3,9 @@ package UnitInfo.core;
|
||||
import UnitInfo.shaders.*;
|
||||
import UnitInfo.ui.HUDFragment;
|
||||
import UnitInfo.ui.MindowsTex;
|
||||
import UnitInfo.ui.windows.CoreDisplay;
|
||||
import UnitInfo.ui.windows.WindowTable;
|
||||
import UnitInfo.ui.windows.WindowTables;
|
||||
import arc.*;
|
||||
import mindustry.*;
|
||||
import mindustry.game.EventType.*;
|
||||
@@ -37,6 +40,7 @@ public class Main extends Mod {
|
||||
Events.on(ClientLoadEvent.class, e -> {
|
||||
new SettingS().init();
|
||||
MindowsTex.init();
|
||||
WindowTables.init();
|
||||
new HUDFragment().build(Vars.ui.hudGroup);
|
||||
hud = new HudUi();
|
||||
hud.addTable();
|
||||
@@ -46,5 +50,9 @@ public class Main extends Mod {
|
||||
OverDrawer.setEvent();
|
||||
if(jsonGen) ContentJSON.save();
|
||||
});
|
||||
|
||||
Events.on(WorldLoadEvent.class, e -> {
|
||||
((CoreDisplay) WindowTables.coreTable).resetUsed();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user