Browse Source

Fix harmony patch error due to fixed name

tags/v2.2.0
NGnius (Graham) 4 years ago
parent
commit
d891f12701
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      GamecraftModdingAPI/Inventory/HotbarSlotSelectionHandlerEnginePatch.cs

+ 1
- 1
GamecraftModdingAPI/Inventory/HotbarSlotSelectionHandlerEnginePatch.cs View File

@@ -15,7 +15,7 @@ namespace GamecraftModdingAPI.Inventory

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)
{


Loading…
Cancel
Save