mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-30 12:23:39 +01:00
Update OopsMaybeLalafellsPlugin.cs
This commit is contained in:
parent
deaae39213
commit
afe1e2169f
1 changed files with 3 additions and 2 deletions
|
|
@ -14,12 +14,13 @@ namespace Dalamud.Fools.Plugins;
|
||||||
|
|
||||||
public class OopsMaybeLalafells : IFoolsPlugin
|
public class OopsMaybeLalafells : IFoolsPlugin
|
||||||
{
|
{
|
||||||
// Plugin
|
// Oops, Maybe Lalafells?
|
||||||
|
// This plugin is deliberately nerfed to prevent a fully-formed revival of the original.
|
||||||
|
|
||||||
public OopsMaybeLalafells()
|
public OopsMaybeLalafells()
|
||||||
{
|
{
|
||||||
var scanner = Service<SigScanner>.Get();
|
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 = Hook<SetupCharacterDelegate>.FromAddress(addr, SetupCharacterDetour);
|
||||||
SetupCharacterHook.Enable();
|
SetupCharacterHook.Enable();
|
||||||
RedrawAll();
|
RedrawAll();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue