Correct spelling mistakes

Add custom config path setting to AutoCraft
This commit is contained in:
ReinforceZwei 2020-07-23 20:32:02 +08:00 committed by ORelio
parent 3ff2a18b60
commit 1960235968
5 changed files with 59 additions and 39 deletions

View file

@ -173,7 +173,12 @@ namespace MinecraftClient.Inventory
return result.ToArray();
}
public int[] GetEmpytSlot()
/// <summary>
/// List empty slots in the container
/// </summary>
/// <returns>An array of slot ID</returns>
/// <remarks>Also depending on the container type, some empty slots cannot be used e.g. armor slots. This might cause issues.</remarks>
public int[] GetEmpytSlots()
{
List<int> result = new List<int>();
for (int i = 0; i < Type.SlotCount(); i++)