diff --git a/core/src/mindustry/mod/Mods.java b/core/src/mindustry/mod/Mods.java index e53de0a4ad..8e3f3ad2b1 100644 --- a/core/src/mindustry/mod/Mods.java +++ b/core/src/mindustry/mod/Mods.java @@ -225,6 +225,10 @@ public class Mods implements Loadable{ var shadow = Core.atlas; //dummy texture atlas that returns the 'shadow' regions; used for mod loading Core.atlas = new TextureAtlas(){ + { + //needed for the correct operation of the found() method in the TextureRegion + error = shadow.find("error"); + } @Override public AtlasRegion find(String name){