Fix a ton of side safety issues

This commit is contained in:
Vincent Lee committed 2019-10-18 11:48:08 -05:00
1 parent 2fea94a85d
commit 7ffdc27c49
13 files changed
+99 -63

No files matched your search

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