chore: update names for utilities
This commit is contained in:
parent
e20e7ddb41
commit
0ed2b3836e
2 changed files with 2 additions and 4 deletions
|
@ -48,9 +48,7 @@ namespace Continuity.Content
|
||||||
itemLoot.RemoveWhere(rule => rule is OneFromRulesRule);
|
itemLoot.RemoveWhere(rule => rule is OneFromRulesRule);
|
||||||
if (ModLoader.HasMod("CalamityMod"))
|
if (ModLoader.HasMod("CalamityMod"))
|
||||||
{
|
{
|
||||||
// NOTE(midnadimple): This line causes build issue in tModloader v2024.9.3.0, i dont think
|
itemLoot.RemoveWhere(rule => rule is CalamityDropHelper.AllOptionsAtOnceWithPityDropRule);
|
||||||
// this is how you're meant to access other mods' drop rules.
|
|
||||||
itemLoot.RemoveWhere(rule => rule is CalamDropHelper.AllOptionsAtOnceWithPityDropRule);
|
|
||||||
|
|
||||||
if (ModLoader.TryGetMod("CalamityMod", out Mod calamityMod) && calamityMod.TryFind<ModItem>("BlossomFlux", out ModItem BlossomFlux)) {
|
if (ModLoader.TryGetMod("CalamityMod", out Mod calamityMod) && calamityMod.TryFind<ModItem>("BlossomFlux", out ModItem BlossomFlux)) {
|
||||||
itemLoot.RemoveWhere(rule => rule is CommonDrop drop
|
itemLoot.RemoveWhere(rule => rule is CommonDrop drop
|
||||||
|
|
|
@ -11,7 +11,7 @@ using Terraria;
|
||||||
// Repurposed from https://github.com/CalamityTeam/CalamityModPublic/blob/1.4.4/Utilities/DropHelper.cs
|
// Repurposed from https://github.com/CalamityTeam/CalamityModPublic/blob/1.4.4/Utilities/DropHelper.cs
|
||||||
namespace continuity.Utilities
|
namespace continuity.Utilities
|
||||||
{
|
{
|
||||||
internal class CalamDropHelper
|
internal class CalamityDropHelper
|
||||||
{
|
{
|
||||||
public struct Fraction
|
public struct Fraction
|
||||||
{
|
{
|
Reference in a new issue