Fix reinforced obsidian recipe
This commit is contained in:
+4
-1
@@ -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 = {
|
||||||
|
|||||||
@@ -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 #############################################################################
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user