chore: bump to 1.1.0

This commit is contained in:
Anna 2022-05-10 16:01:06 -04:00
parent 4a3bf301b8
commit f6696f2dcf
2 changed files with 6 additions and 11 deletions

View File

@ -177,6 +177,7 @@ internal class GameFunctions : IDisposable {
this.HumansToIds[actorPtr] = id;
this.CharacterInitialise?.Invoke((GameObject*) this._lastActor, actorPtr, customizeDataPtr);
this._lastActor = IntPtr.Zero;
} catch (Exception e) {
PluginLog.LogError(e, "yeet");
}
@ -186,13 +187,7 @@ internal class GameFunctions : IDisposable {
}
private unsafe IntPtr FlagSlotUpdateDetour(IntPtr actorPtr, uint slot, IntPtr equipDataPtr) {
if (this._lastActor != IntPtr.Zero) {
try {
this.FlagSlotUpdate?.Invoke((GameObject*) this._lastActor, slot, (EquipData*) equipDataPtr);
} catch (Exception e) {
PluginLog.LogError(e, "yeet2");
}
} else if (this.HumansToIds.TryGetValue(actorPtr, out var objId)) {
if (this.HumansToIds.TryGetValue(actorPtr, out var objId)) {
var obj = this.Plugin.ObjectTable.FirstOrDefault(obj => obj.ObjectId == objId);
if (obj != null) {
try {

View File

@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Version>1.0.4</Version>
<Version>1.1.0</Version>
<TargetFramework>net5-windows</TargetFramework>
<Nullable>enable</Nullable>
<LangVersion>latest</LangVersion>
@ -48,9 +48,9 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="DalamudLinter" Version="1.0.3" />
<PackageReference Include="DalamudPackager" Version="2.1.7" />
<PackageReference Include="XivCommon" Version="5.0.1-alpha.1" />
<PackageReference Include="DalamudLinter" Version="1.0.3"/>
<PackageReference Include="DalamudPackager" Version="2.1.7"/>
<PackageReference Include="XivCommon" Version="5.0.1-alpha.1"/>
</ItemGroup>
</Project>