This should be ItemPrefab, not Item, also add it the source code compat

This commit is contained in:
Evil Factory
2026-03-28 14:03:28 -03:00
parent b8f1642d9d
commit b358882016
3 changed files with 8 additions and 7 deletions
@@ -639,7 +639,8 @@ public class PluginManagementService : IAssemblyManagementService
{
return sourceCode
.Replace("GameMain.LuaCs", "LuaCsSetup.Instance")
.Replace("Client.ClientList", "ModUtils.Client.ClientList");
.Replace("Client.ClientList", "ModUtils.Client.ClientList")
.Replace("ItemPrefab.GetItemPrefab", "ModUtils.ItemPrefab.GetItemPrefab");
}
private IntPtr OnAssemblyLoaderResolvingUnmanaged(Assembly callerAssembly, string targetAssemblyName)