diff --git a/core/assets/maps/passage.msav b/core/assets/maps/passage.msav index b6816fba7b..e9b8c5b1d1 100644 Binary files a/core/assets/maps/passage.msav and b/core/assets/maps/passage.msav differ diff --git a/core/src/mindustry/ClientLauncher.java b/core/src/mindustry/ClientLauncher.java index 71b04314a8..8ffcd3daf1 100644 --- a/core/src/mindustry/ClientLauncher.java +++ b/core/src/mindustry/ClientLauncher.java @@ -149,7 +149,16 @@ public abstract class ClientLauncher extends ApplicationCore implements Platform } mods.eachClass(Mod::init); finished = true; - Events.fire(new ClientLoadEvent()); + 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 error){ + Log.err(error); + } + + }); clientLoaded = true; super.resize(graphics.getWidth(), graphics.getHeight()); app.post(() -> app.post(() -> app.post(() -> app.post(() -> { diff --git a/gradle.properties b/gradle.properties index fae8458bb2..90e2aa9faa 100644 --- a/gradle.properties +++ b/gradle.properties @@ -10,4 +10,4 @@ kapt.include.compile.classpath=false kotlin.stdlib.default.dependency=false #needed for android compilation android.useAndroidX=true -archash=41e8bb990244cd77c49e2b789bf9fc5374a711df +archash=db5cfe90d3eb516401d90c1c1556542de0f4676a