Skip to content

Commit 4cfa860

Browse files
committed
functional (probably) for 7.4
1 parent 0ce624d commit 4cfa860

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

PositionalGuide/Plugin.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ private enum CircleTypes { Target, Outer };
4343
[PluginService] public static ITargetManager Targets { get; private set; } = null!;
4444
[PluginService] public static IPluginLog Log { get; private set; } = null!;
4545
[PluginService] public static INotificationManager Notifications { get; private set; } = null!;
46+
[PluginService] public static IObjectTable Objects { get; private set; } = null!;
4647

4748
public Configuration Config { get; private set; }
4849

@@ -117,13 +118,13 @@ internal void Draw() {
117118
if (Targets.Target is not IBattleNpc target)
118119
return;
119120

120-
if (Client.LocalPlayer is not IPlayerCharacter player)
121+
if (Objects.LocalPlayer is not IPlayerCharacter player)
121122
return;
122123

123124
if (target.ObjectKind is ObjectKind.Player) {
124125
if (!this.Config.DrawOnPlayers)
125126
return;
126-
if (target != Client.LocalPlayer && this.Config.DrawOnSelfOnly)
127+
if (target != Objects.LocalPlayer && this.Config.DrawOnSelfOnly)
127128
return;
128129
}
129130

PositionalGuide/dalamud.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<PropertyGroup>
55
<Platforms>x64</Platforms>
66
<PlatformTarget>x64</PlatformTarget>
7-
<TargetFramework>net9-windows</TargetFramework>
7+
<TargetFramework>net10.0-windows7.0</TargetFramework>
88
<OutputType>Library</OutputType>
99
<Deterministic>false</Deterministic>
1010
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>

PositionalGuide/packages.lock.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"version": 1,
33
"dependencies": {
4-
"net9.0-windows7.0": {
4+
"net10.0-windows7.0": {
55
"DalamudPackager": {
66
"type": "Direct",
77
"requested": "[13.0.0, )",
@@ -16,9 +16,9 @@
1616
},
1717
"Microsoft.NET.ILLink.Tasks": {
1818
"type": "Direct",
19-
"requested": "[9.0.8, )",
20-
"resolved": "9.0.8",
21-
"contentHash": "rd1CbIsMtVPtZNTIVD6Xydue//klYOOQIDpRgu3BHtv17AlpRs74/6QFbcYgMm/jL+naVU2T3OFLxVSLV5lQLQ=="
19+
"requested": "[10.0.1, )",
20+
"resolved": "10.0.1",
21+
"contentHash": "ISahzLHsHY7vrwqr2p1YWZ+gsxoBRtH7gWRDK8fDUst9pp2He0GiesaqEfeX0V8QMCJM3eNEHGGpnIcPjFo2NQ=="
2222
}
2323
}
2424
}

0 commit comments

Comments
 (0)