Browse Source

Fix harmony patch error due to fixed name

tags/v1.7.0
NGnius (Graham) NorbiPeti <szatmari.norbert.peter@gmail.com> 3 years ago
parent
commit
8eec1358e9
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