Fix reinforced obsidian recipe

This commit is contained in:
Andrew Miner
2015-03-18 17:16:32 -07:00
parent b10fe74ba5
commit e7723b9452
3 changed files with 5 additions and 4 deletions
+4 -1
View File
@@ -18,7 +18,7 @@ ROOT = './dist/'
app = express() app = express()
app.get '*/$', (request, response)-> serveIndex = (request, response)->
response.set 'Content-Type', 'text/html' response.set 'Content-Type', 'text/html'
filePath = "#{request.path}index.html".replace /^\//, '' filePath = "#{request.path}index.html".replace /^\//, ''
fs.stat "#{ROOT}#{filePath}", (err, stats)-> fs.stat "#{ROOT}#{filePath}", (err, stats)->
@@ -29,6 +29,9 @@ app.get '*/$', (request, response)->
response.sendFile '/app.html', root:ROOT response.sendFile '/app.html', root:ROOT
console.log ">>> app.html (for #{request.path})" console.log ">>> app.html (for #{request.path})"
app.get '*/$', serveIndex
app.get '/craft/*', serveIndex
app.get '*', (request, response)-> app.get '*', (request, response)->
extension = path.extname(request.path) extension = path.extname(request.path)
contentType = { contentType = {
-2
View File
@@ -92,8 +92,6 @@ module.exports = class ModPack extends BaseModel
mod.findRecipes itemSlug, result, options mod.findRecipes itemSlug, result, options
result.sort (a, b)-> Recipe.compareFor a, b, itemSlug
return if result.length > 0 then result else null return if result.length > 0 then result else null
# Property Methods ############################################################################# # Property Methods #############################################################################
+1 -1
View File
@@ -349,7 +349,7 @@ group: Decoration
item: Reinforced Obsidian item: Reinforced Obsidian
recipe: recipe:
input: Dark Steel, Dark Steel Bars, Obsidian input: Dark Steel, Dark Iron Bars, Obsidian
pattern: 010 121 010 pattern: 010 121 010
tools: Crafting Table tools: Crafting Table