Add in next/prev buttons for crafting table

This commit is contained in:
Andrew Miner
2015-01-08 12:34:33 -08:00
parent 9424af9d84
commit fb3db0f393
12 changed files with 662 additions and 7 deletions
+1
View File
@@ -27,6 +27,7 @@ module.exports = class Recipe extends BaseModel
getItemSlugAt: (index)->
patternDigit = @pattern[index]
return null unless patternDigit?
return null unless patternDigit.match /[0-9]/
stack = @input[parseInt(patternDigit)]
return null unless stack?