Skip to content

Commit 545cea8

Browse files
Small fix
1 parent 7478d66 commit 545cea8

File tree

5 files changed

+9
-4
lines changed

5 files changed

+9
-4
lines changed

API.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<TargetFramework>netstandard2.0</TargetFramework>
55
<AssemblyName>API</AssemblyName>
66
<Description>An API for inscryption</Description>
7-
<Version>1.10.0.0</Version>
7+
<Version>1.10.1.0</Version>
88
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
99
<LangVersion>9.0</LangVersion>
1010
</PropertyGroup>

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
# Changelog
2+
## v1.10.1
3+
- Fix for abilities which do not have identifier.
4+
25
## v1.10
36
- Added ability identifers.
47

Models/NewAbility.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ public NewAbility(AbilityInfo info, Type abilityBehaviour, Texture tex, AbilityI
2424
this.tex = tex;
2525
this.id = id;
2626
NewAbility.abilities.Add(this);
27-
id.id = ability;
27+
if (id != null){
28+
id.id = ability;
29+
}
2830
Plugin.Log.LogInfo($"Loaded custom ability {info.rulebookName}!");
2931
}
3032
}

Plugin.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public class Plugin : BaseUnityPlugin
1616
{
1717
private const string PluginGuid = "cyantist.inscryption.api";
1818
private const string PluginName = "API";
19-
private const string PluginVersion = "1.10.0.0";
19+
private const string PluginVersion = "1.10.1.0";
2020

2121
internal static ManualLogSource Log;
2222
internal static ConfigEntry<bool> configEnergy;

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "API",
3-
"version_number": "1.10.0",
3+
"version_number": "1.10.1",
44
"website_url": "https://github.com/ScottWilson0903/InscryptionAPI",
55
"description": "This plugin is a BepInEx plugin made for Inscryption as an API. It can currently create custom cards and abilities and inject them into the data pool, or modify existing cards in the card pool.",
66
"dependencies": [

0 commit comments

Comments
 (0)