Fix reinforced obsidian recipe
This commit is contained in:
+4
-1
@@ -18,7 +18,7 @@ ROOT = './dist/'
|
||||
|
||||
app = express()
|
||||
|
||||
app.get '*/$', (request, response)->
|
||||
serveIndex = (request, response)->
|
||||
response.set 'Content-Type', 'text/html'
|
||||
filePath = "#{request.path}index.html".replace /^\//, ''
|
||||
fs.stat "#{ROOT}#{filePath}", (err, stats)->
|
||||
@@ -29,6 +29,9 @@ app.get '*/$', (request, response)->
|
||||
response.sendFile '/app.html', root:ROOT
|
||||
console.log ">>> app.html (for #{request.path})"
|
||||
|
||||
app.get '*/$', serveIndex
|
||||
app.get '/craft/*', serveIndex
|
||||
|
||||
app.get '*', (request, response)->
|
||||
extension = path.extname(request.path)
|
||||
contentType = {
|
||||
|
||||
@@ -92,8 +92,6 @@ module.exports = class ModPack extends BaseModel
|
||||
|
||||
mod.findRecipes itemSlug, result, options
|
||||
|
||||
result.sort (a, b)-> Recipe.compareFor a, b, itemSlug
|
||||
|
||||
return if result.length > 0 then result else null
|
||||
|
||||
# Property Methods #############################################################################
|
||||
|
||||
@@ -349,7 +349,7 @@ group: Decoration
|
||||
|
||||
item: Reinforced Obsidian
|
||||
recipe:
|
||||
input: Dark Steel, Dark Steel Bars, Obsidian
|
||||
input: Dark Steel, Dark Iron Bars, Obsidian
|
||||
pattern: 010 121 010
|
||||
tools: Crafting Table
|
||||
|
||||
|
||||
Reference in New Issue
Block a user