aboutsummaryrefslogtreecommitdiffstats
path: root/Malmstone/Utils/UIChanger.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Malmstone/Utils/UIChanger.cs')
-rw-r--r--Malmstone/Utils/UIChanger.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Malmstone/Utils/UIChanger.cs b/Malmstone/Utils/UIChanger.cs
index d764a83..ca26d69 100644
--- a/Malmstone/Utils/UIChanger.cs
+++ b/Malmstone/Utils/UIChanger.cs
@@ -17,7 +17,7 @@ public class UIChanger
{
unsafe
{
- var PvpRewardWindow = (AtkUnitBase*)addonInfo.Addon;
+ var PvpRewardWindow = (AtkUnitBase*)addonInfo.Addon.Address;
var SeriesLevelTextNode = PvpRewardWindow->GetTextNodeById(16);
PvPSeriesInfo? PvPSeriesInfo = Plugin.PvPService.GetPvPSeriesInfo();
if (SeriesLevelTextNode != null && PvPSeriesInfo != null)
@@ -33,7 +33,7 @@ public class UIChanger
{
unsafe
{
- var PvpProfileWindow = (AtkUnitBase*)addonInfo.Addon;
+ var PvpProfileWindow = (AtkUnitBase*)addonInfo.Addon.Address;
var SeriesLevelTextNode = PvpProfileWindow->GetTextNodeById(24);
PvPSeriesInfo? PvPSeriesInfo = Plugin.PvPService.GetPvPSeriesInfo();
if (PvPSeriesInfo == null)
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage