Skip to content

Commit a633873

Browse files
authored
Update WeaponPaints.cs
1 parent d7af2fe commit a633873

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

WeaponPaints.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ public partial class WeaponPaints : BasePlugin, IPluginConfig<WeaponPaintsConfig
2121

2222
public override void Load(bool hotReload)
2323
{
24-
// Hardcoded hotfix needs to be changed later
25-
if (RuntimeInformation.IsOSPlatform(OSPlatform.Linux))
26-
Patch.PerformPatch("0F 85 ? ? ? ? 31 C0 B9 ? ? ? ? BA ? ? ? ? 66 0F EF C0 31 F6 31 FF 48 C7 45 ? ? ? ? ? 48 C7 45 ? ? ? ? ? 48 C7 45 ? ? ? ? ? 48 C7 45 ? ? ? ? ? 0F 29 45 ? 48 C7 45 ? ? ? ? ? C7 45 ? ? ? ? ? 66 89 45 ? E8 ? ? ? ? 41 89 C5 85 C0 0F 8E", "90 90 90 90 90 90");
27-
else
28-
Patch.PerformPatch("74 ? 48 8D 0D ? ? ? ? FF 15 ? ? ? ? EB ? BA", "EB");
24+
// Hardcoded hotfix needs to be changed later (Not needed 17.09.2025)
25+
//if (RuntimeInformation.IsOSPlatform(OSPlatform.Linux))
26+
// Patch.PerformPatch("0F 85 ? ? ? ? 31 C0 B9 ? ? ? ? BA ? ? ? ? 66 0F EF C0 31 F6 31 FF 48 C7 45 ? ? ? ? ? 48 C7 45 ? ? ? ? ? 48 C7 45 ? ? ? ? ? 48 C7 45 ? ? ? ? ? 0F 29 45 ? 48 C7 45 ? ? ? ? ? C7 45 ? ? ? ? ? 66 89 45 ? E8 ? ? ? ? 41 89 C5 85 C0 0F 8E", "90 90 90 90 90 90");
27+
//else
28+
// Patch.PerformPatch("74 ? 48 8D 0D ? ? ? ? FF 15 ? ? ? ? EB ? BA", "EB");
2929

3030
Instance = this;
3131

@@ -140,4 +140,4 @@ public override void OnAllPluginsLoaded(bool hotReload)
140140
throw;
141141
}
142142
}
143-
}
143+
}

0 commit comments

Comments
 (0)