We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 83a74fc commit 00cb8a9Copy full SHA for 00cb8a9
index.js
@@ -13,10 +13,10 @@ const legacyPcBlocksByIdmeta = Object.entries(mcData.legacy.pc.blocks).reduce((o
13
const s = name.split('[')[1]?.replace(']', '')
14
obj[idmeta] = s
15
? Object.fromEntries(s.split(',').map(s => {
16
- let [k, v] = s.split('=')
17
- if (!isNaN(parseInt(v))) v = parseInt(v)
18
- return [k, v]
19
- }))
+ let [k, v] = s.split('=')
+ if (!isNaN(parseInt(v))) v = parseInt(v)
+ return [k, v]
+ }))
20
: {}
21
return obj // array of { '255:0': { mode: 'save' }, }
22
}, {})
package.json
@@ -27,7 +27,7 @@
27
"minecraft-wrap": "^1.4.0",
28
"mocha": "^10.0.0",
29
"prismarine-block": "file:",
30
- "standard": "^16.0.4"
+ "standard": "^17.1.0"
31
},
32
"keywords": [
33
"prismarine",
0 commit comments