1.7.10 compatibility

This commit is contained in:
kepler155c
2018-03-11 17:33:30 -04:00
parent f170a00f02
commit 2e72b1884d

View File

@@ -1023,7 +1023,7 @@ function listingPage:eventHandler(event)
elseif event.type == 'craft' or event.type == 'grid_select_right' then
local item = self.grid:getSelected()
if Craft.findRecipe(item) or item.has_recipe then
if Craft.findRecipe(item) or item.is_craftable then
UI:setPage('craft', self.grid:getSelected())
else
self.notification:error('No recipe defined')