mirror of
https://github.com/Ottermandias/Glamourer.git
synced 2026-02-17 21:17:44 +01:00
Add compatible IPC for now.
This commit is contained in:
parent
1aba34f34a
commit
63e82d19dc
9 changed files with 392 additions and 305 deletions
|
|
@ -186,7 +186,7 @@ public class ItemManager : IDisposable
|
|||
public bool IsOffhandValid(FullEquipType offType, uint offId, out EquipItem off)
|
||||
{
|
||||
off = Resolve(offType, offId);
|
||||
return off.Valid;
|
||||
return offType == FullEquipType.Unknown || off.Valid;
|
||||
}
|
||||
|
||||
/// <summary> Returns whether an offhand is valid given mainhand. </summary>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
using Dalamud.Plugin;
|
||||
using Glamourer.Api;
|
||||
using Glamourer.Designs;
|
||||
using Glamourer.Events;
|
||||
using Glamourer.Gui;
|
||||
|
|
@ -99,5 +100,6 @@ public static class ServiceManager
|
|||
.AddSingleton<PenumbraChangedItemTooltip>();
|
||||
|
||||
private static IServiceCollection AddApi(this IServiceCollection services)
|
||||
=> services.AddSingleton<CommandService>();
|
||||
=> services.AddSingleton<CommandService>()
|
||||
.AddSingleton<GlamourerIpc>();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue