Update OopsMaybeLalafellsPlugin.cs

This commit is contained in:
chirp 2023-03-31 11:13:59 +01:00 committed by GitHub
parent deaae39213
commit afe1e2169f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,12 +14,13 @@ namespace Dalamud.Fools.Plugins;
public class OopsMaybeLalafells : IFoolsPlugin
{
// Plugin
// Oops, Maybe Lalafells?
// This plugin is deliberately nerfed to prevent a fully-formed revival of the original.
public OopsMaybeLalafells()
{
var scanner = Service<SigScanner>.Get();
var addr = scanner.Module.BaseAddress + 0x0484F60;
var addr = scanner.Module.BaseAddress + 0x0484F60; // Deliberate choice in line with the above comment - this is intended to break after the next patch.
SetupCharacterHook = Hook<SetupCharacterDelegate>.FromAddress(addr, SetupCharacterDetour);
SetupCharacterHook.Enable();
RedrawAll();