Fix harmony patch error due to fixed name
This commit is contained in:
parent
08138e3589
commit
8eec1358e9
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ namespace GamecraftModdingAPI.Inventory
|
||||||
|
|
||||||
public static BlockIDs EquippedPartID { get => (BlockIDs)selectedBlockInt; }
|
public static BlockIDs EquippedPartID { get => (BlockIDs)selectedBlockInt; }
|
||||||
|
|
||||||
private static MethodInfo PatchedMethod { get; } = AccessTools.Method("Gamecraft.GUI.Hotbar.Blocks.SyncHotbarSlotSelectedToEquipedPartEngine:ActivateSlotForCube", parameters: new Type[] { typeof(uint), typeof(int), typeof(ExclusiveGroupStruct) });
|
private static MethodInfo PatchedMethod { get; } = AccessTools.Method("Gamecraft.GUI.Hotbar.Blocks.SyncHotbarSlotSelectedToEquippedPartEngine:ActivateSlotForCube", parameters: new Type[] { typeof(uint), typeof(int), typeof(ExclusiveGroupStruct) });
|
||||||
|
|
||||||
public static void Prefix(uint playerID, int selectedDBPartID, ExclusiveGroupStruct groupID)
|
public static void Prefix(uint playerID, int selectedDBPartID, ExclusiveGroupStruct groupID)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue