diff --git a/ILEditing/MechanicILChanges.cs b/ILEditing/MechanicILChanges.cs index 626acb6980..3208003620 100644 --- a/ILEditing/MechanicILChanges.cs +++ b/ILEditing/MechanicILChanges.cs @@ -539,7 +539,7 @@ namespace CalamityMod.ILEditing #endregion Ash Particle Rendering #region General Particle Rendering - private static void DrawParticles(On.Terraria.Main.orig_DrawInterface orig, Main self, GameTime gameTime) + private static void DrawGeneralParticles(On.Terraria.Main.orig_DrawInterface orig, Main self, GameTime gameTime) { Main.spriteBatch.Begin(SpriteSortMode.Deferred, BlendState.AlphaBlend, SamplerState.PointClamp, default, null, null, Main.GameViewMatrix.ZoomMatrix); GeneralParticleHandler.DrawAllParticles(Main.spriteBatch); diff --git a/Particles/GeneralParticleHandler.cs b/Particles/GeneralParticleHandler.cs index fb18af3fb1..af14671fcf 100644 --- a/Particles/GeneralParticleHandler.cs +++ b/Particles/GeneralParticleHandler.cs @@ -169,6 +169,6 @@ namespace CalamityMod.Particles /// /// Gives you the texture of the particle type. Useful for custom drawing /// - public static Texture2D GetTexture(int type) => particleTextures[type] + public static Texture2D GetTexture(int type) => particleTextures[type]; } }