protected override WindowArea GetLinkedArea(int index, Slot slot) { if (!slot.Empty && slot.AsItem() is IArmorItem && (index == 2 || index == 3)) return Armor; if (index == 0 || index == 1 || index == 3) return MainInventory; return Hotbar; }