From 603cefa60365c0aa631b20c1bb013bb7c2c55729 Mon Sep 17 00:00:00 2001 From: IbanPlay <56191483+IbanPlay@users.noreply.github.com> Date: Thu, 6 Jan 2022 18:34:58 +0100 Subject: [PATCH] Fix --- ILEditing/MechanicILChanges.cs | 2 +- Particles/GeneralParticleHandler.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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]; } }