Skip to content

Commit

Permalink
Fix error in KK school mode
Browse files Browse the repository at this point in the history
  • Loading branch information
DeathWeasel1337 committed Feb 28, 2021
1 parent 4045eea commit a6aafeb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/DynamicBoneEditor.Core/DynamicBoneEditor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public class Plugin : BaseUnityPlugin
public const string PluginGUID = "com.deathweasel.bepinex.dynamicboneeditor";
public const string PluginName = "Dynamic Bone Editor";
public const string PluginNameInternal = Constants.Prefix + "_DynamicBoneEditor";
public const string PluginVersion = "1.0";
public const string PluginVersion = "1.0.1";
internal static new ManualLogSource Logger;
internal static Plugin PluginInstance;

Expand Down
2 changes: 2 additions & 0 deletions src/DynamicBoneEditor.Core/UI/DynamicBoneEditor.UI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,8 @@ public static void ShowUI(int dynamicBoneIndex)

public static void ToggleButtonVisibility()
{
if (!MakerAPI.InsideMaker)
return;
if (DynamicBoneEditorButton == null)
return;

Expand Down

0 comments on commit a6aafeb

Please sign in to comment.