Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Got this error upon trying to call the crafting scene:

TypeError: Cannot read property 'commandText' of undefined

    at CGMZ_Window_RecipeCategory.drawItem (CGMZ_Crafting.js:3821)

    at CGMZ_Window_RecipeCategory.Window_Selectable.drawAllItems (rmmz_windows.js:1361)

    at CGMZ_Window_RecipeCategory.refresh (CGMZ_Crafting.js:3781)

    at CGMZ_Window_RecipeCategory.initialize (CGMZ_Crafting.js:3742)

    at new CGMZ_Window_RecipeCategory (CGMZ_Crafting.js:3731)

    at CGMZ_Scene_Crafting.createCategoryWindow (CGMZ_Crafting.js:3498)

    at CGMZ_Scene_Crafting.create (CGMZ_Crafting.js:3468)

    at Function.SceneManager.changeScene (rmmz_managers.js:2086)

    at Function.SceneManager.updateMain (rmmz_managers.js:2058)

    at Function.SceneManager.updateMain (CGMZ_Core.js:1456)

Any ideas?

Hi, if you are using the category window you need to set up categories to display there. You can do so in the Categories parameter in the plugin parameters.

Ah, I didn't realize I'd accidentally changed something that implied the need for categories.  Got it working now, thanks!