Skip to content

Commit

Permalink
Small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ScottWilson0903 committed Nov 11, 2021
1 parent 7478d66 commit 545cea8
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion API.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<TargetFramework>netstandard2.0</TargetFramework>
<AssemblyName>API</AssemblyName>
<Description>An API for inscryption</Description>
<Version>1.10.0.0</Version>
<Version>1.10.1.0</Version>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<LangVersion>9.0</LangVersion>
</PropertyGroup>
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# Changelog
## v1.10.1
- Fix for abilities which do not have identifier.

## v1.10
- Added ability identifers.

Expand Down
4 changes: 3 additions & 1 deletion Models/NewAbility.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ public NewAbility(AbilityInfo info, Type abilityBehaviour, Texture tex, AbilityI
this.tex = tex;
this.id = id;
NewAbility.abilities.Add(this);
id.id = ability;
if (id != null){
id.id = ability;
}
Plugin.Log.LogInfo($"Loaded custom ability {info.rulebookName}!");
}
}
Expand Down
2 changes: 1 addition & 1 deletion Plugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public class Plugin : BaseUnityPlugin
{
private const string PluginGuid = "cyantist.inscryption.api";
private const string PluginName = "API";
private const string PluginVersion = "1.10.0.0";
private const string PluginVersion = "1.10.1.0";

internal static ManualLogSource Log;
internal static ConfigEntry<bool> configEnergy;
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "API",
"version_number": "1.10.0",
"version_number": "1.10.1",
"website_url": "https://github.com/ScottWilson0903/InscryptionAPI",
"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.",
"dependencies": [
Expand Down

0 comments on commit 545cea8

Please sign in to comment.