PartialModel gets called from the right place

This commit is contained in:
Jozufozu 2021-07-09 13:39:56 -07:00
parent c79c41c16f
commit 18848b14e1

View file

@ -5,6 +5,8 @@ import com.jozufozu.flywheel.core.AtlasStitcher;
import com.jozufozu.flywheel.core.Contexts;
import com.jozufozu.flywheel.core.Materials;
import com.jozufozu.flywheel.core.PartialModel;
import net.minecraftforge.eventbus.api.IEventBus;
import net.minecraftforge.fml.javafmlmod.FMLJavaModLoadingContext;
@ -20,5 +22,7 @@ public class FlywheelClient {
modEventBus.addListener(Contexts::flwInit);
modEventBus.addListener(Materials::flwInit);
modEventBus.addListener(PartialModel::onModelRegistry);
modEventBus.addListener(PartialModel::onModelBake);
}
}