fix: don't need dummy mod add asset.
@@ -3,6 +3,7 @@ package nullengine.mod.init.handler;
import nullengine.Platform;
import nullengine.client.asset.source.ModAssetSource;
import nullengine.mod.ModContainer;
+import nullengine.mod.dummy.DummyModContainer;
import nullengine.mod.init.ModInitializationTask;
import nullengine.mod.init.ModInitializer;
@@ -11,6 +12,8 @@ import java.io.IOException;
public class AssetTask implements ModInitializationTask {
@Override
public void run(ModInitializer initializer, ModContainer mod) {
+ if (mod instanceof DummyModContainer)
+ return;
try {
Platform.getEngineClient().getAssetManager().getSourceManager().getSources().addLast(ModAssetSource.create(mod));
} catch (IOException e) {
