Don't forget to re-disable the vtable lookup.

This commit is contained in:
attick 2019-11-07 11:54:30 -05:00
parent 5530e083df
commit 950f546a17

View file

@ -82,7 +82,7 @@ namespace Dalamud.Game.Internal.Gui {
// Check if player is loaded in by trying to get their buffs. // Check if player is loaded in by trying to get their buffs.
// If not, skip everything until we are (game will crash cause I'm lazy). // If not, skip everything until we are (game will crash cause I'm lazy).
/*
if (activeBuffArray == IntPtr.Zero) { if (activeBuffArray == IntPtr.Zero) {
try { try {
activeBuffArray = FindBuffAddress(); activeBuffArray = FindBuffAddress();
@ -93,7 +93,7 @@ namespace Dalamud.Game.Internal.Gui {
return this.iconHook.Original(self, actionID); return this.iconHook.Original(self, actionID);
} }
} }
*/
if (this.VanillaIDs.Contains(actionID)) return this.iconHook.Original(self, actionID); if (this.VanillaIDs.Contains(actionID)) return this.iconHook.Original(self, actionID);
if (!this.CustomIDs.Contains(actionID)) return actionID; if (!this.CustomIDs.Contains(actionID)) return actionID;