Compatibility issue between Venka Crafting and Theo Command Help

I'm using TheoAllen's Command Help Popup and Venka's Crafting script. When I try to open a crafting menu (by using the simple "craft(1)" script command from Venka's script), it gives me this error:

Script 'Window_Command' line 68: NoMethodError occurred.
undefined method '[]' for nil:NilClass

Anyone willing to help?


Link to TheoAllen's Command Help Popup


Link to Venka crafting
bump
You have to check your settings? Putting Theoallen's command script into Venka's crafting demo works fine.
Either you have a setting wrong somewhere or something else is causing the error.
Well, thats strange. Sure, if I put the command help into the demo, it works. However, in my game, the crafting works as its supposed to be without the command help. But with it, it gives me this error.
You canprovoke this error when you try to open a crafting menu category you have no recipes for though.
Not absolutely sure if that's the cause in your case, but if it is you should be able to safely fix it by adding another check if the current selection is a valid command:
Code:
#=============================================================================
#
#  Compatibility Patch for TheoAllen's Command Help Popup Script (Version 1.0),
#  found here:
#      http://rmrk.net/index.php?topic=50287.0
#  and empty recipe lists in Venka's Crafting Script (Version 3.8), found here:
#      https://forums.rpgmakerweb.com/index.php?threads/17560/
#
#  Place this below the Command Help Popup Script.
#
#=============================================================================  


class Window_Command

  def help_avalaible?
    current_data && Theo::CmnHelp::List.include?(command_name(index))
  end
end
Yes, it was, Another Fen, you're amazing 🙂 It fixed the error 🙂
Thread closed IgnoreMe

Original thread: https://forums.rpgmakerweb.com/threads/compatibility-issue-between-venka-crafting-and-theo-command-help.91160/