From 34d0ed12099c936fd4f57f7e9c0c5196f60decc0 Mon Sep 17 00:00:00 2001 From: Derpy-Jacob-903 <73241159+Derpy-Jacob-903@users.noreply.github.com> Date: Tue, 17 Dec 2024 12:05:48 -0600 Subject: [PATCH 1/2] Patches for 45.X Still works for 46.X --- API/Behaviors/Actions/SetInvincibleAction.cs | 3 +-- API/Behaviors/CustomBloonBehavior.cs | 2 +- ModHelperData.cs | 4 ++-- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/API/Behaviors/Actions/SetInvincibleAction.cs b/API/Behaviors/Actions/SetInvincibleAction.cs index 3c0953d..27214a8 100644 --- a/API/Behaviors/Actions/SetInvincibleAction.cs +++ b/API/Behaviors/Actions/SetInvincibleAction.cs @@ -10,7 +10,6 @@ using Il2CppAssets.Scripts.Unity; using Il2CppInterop.Runtime.InteropTypes.Arrays; using Il2CppNinjaKiwi.Common.ResourceUtils; -using Il2CppNinjaKiwi.LiNK.AuthenticationProviders; using Il2CppSystem.Collections.Generic; using System; using System.Collections.Generic; @@ -26,7 +25,7 @@ internal class SetInvincibleAction : CustomBloonBehavior Date: Tue, 17 Dec 2024 12:33:33 -0600 Subject: [PATCH 2/2] Update CustomBloonBehavior.cs --- API/Behaviors/CustomBloonBehavior.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/API/Behaviors/CustomBloonBehavior.cs b/API/Behaviors/CustomBloonBehavior.cs index 7228c53..b2fef0d 100644 --- a/API/Behaviors/CustomBloonBehavior.cs +++ b/API/Behaviors/CustomBloonBehavior.cs @@ -18,7 +18,7 @@ public abstract class CustomBloonBehavior : ModContent public abstract Type SerializableType { get; } public abstract BehaviorType Type { get; } - //public abstract string Name { get; } //ModContent already has a name + public abstract string Name { get; } public abstract ModHelperPanel CreatePanel(CustomBloonBehaviorSerializable serializable, CustomBloonSave save); public abstract void AddToBloon(BloonModel bloon, CustomBloonBehaviorSerializable serializable);