'fixed' tests

This commit is contained in:
Anuken
2022-02-15 00:24:43 -05:00
parent 95a0f4e735
commit 474cb112c6
8 changed files with 453 additions and 29 deletions
+1 -10
View File
@@ -152,16 +152,7 @@ public abstract class ClientLauncher extends ApplicationCore implements Platform
}
mods.eachClass(Mod::init);
finished = true;
var event = new ClientLoadEvent();
//a temporary measure for compatibility with certain mods
Events.fireWrap(event.getClass(), event, listener -> {
try{
listener.get(event);
}catch(NoSuchFieldError | NoSuchMethodError | NoClassDefFoundError error){
Log.err(error);
}
});
Events.fire(new ClientLoadEvent());
clientLoaded = true;
super.resize(graphics.getWidth(), graphics.getHeight());
app.post(() -> app.post(() -> app.post(() -> app.post(() -> {