Convert wisp particles to vanilla system, needs forge fix to fully work

This commit is contained in:
Vincent Lee committed 2020-01-16 15:09:53 -06:00
1 parent aa04783e3e
commit f4821c8e17
4 files changed
+31 -24

No files matched your search

@@ -30,7 +30,7 @@ public class ModParticles {
public static class FactoryHandler {
@SubscribeEvent
public static void registerFactories(ParticleFactoryRegisterEvent evt) {
Minecraft.getInstance().particles.registerFactory(ModParticles.WISP, new WispParticleType.Factory());
Minecraft.getInstance().particles.registerFactory(ModParticles.WISP, WispParticleType.Factory::new);
Minecraft.getInstance().particles.registerFactory(ModParticles.SPARKLE, new SparkleParticleType.Factory());
}
}