change center link to guilded.gg
adjust redisCopy.js utils script fix .babelrc (idk why we even have that tbh)
This commit is contained in:
parent
35f1a7787c
commit
19c4b23046
6
.babelrc
6
.babelrc
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"presets": [
|
"presets": [
|
||||||
[
|
[
|
||||||
"@babel/env",
|
"@babel/preset-env",
|
||||||
{
|
{
|
||||||
"targets": {
|
"targets": {
|
||||||
"node": "current"
|
"node": "current"
|
||||||
|
@ -9,7 +9,7 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"@babel/typescript",
|
"@babel/typescript",
|
||||||
"@babel/react",
|
"@babel/react"
|
||||||
],
|
],
|
||||||
"plugins": [
|
"plugins": [
|
||||||
"@babel/transform-flow-strip-types",
|
"@babel/transform-flow-strip-types",
|
||||||
|
@ -19,6 +19,6 @@
|
||||||
"@babel/plugin-proposal-numeric-separator",
|
"@babel/plugin-proposal-numeric-separator",
|
||||||
"@babel/plugin-proposal-throw-expressions",
|
"@babel/plugin-proposal-throw-expressions",
|
||||||
["@babel/plugin-proposal-class-properties", { "loose": true }],
|
["@babel/plugin-proposal-class-properties", { "loose": true }],
|
||||||
"@babel/proposal-object-rest-spread",
|
"@babel/proposal-object-rest-spread"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
|
@ -54,9 +54,15 @@ async function copyChunksByCoords(xMin, xMax, yMin, yMax) {
|
||||||
const setNXArgs = [newkey, chunk];
|
const setNXArgs = [newkey, chunk];
|
||||||
await newredis.sendCommandAsync('SET', setNXArgs);
|
await newredis.sendCommandAsync('SET', setNXArgs);
|
||||||
console.log("Created Chunk ", newkey);
|
console.log("Created Chunk ", newkey);
|
||||||
|
} else {
|
||||||
|
await newredis.delAsync(newkey);
|
||||||
|
console.log("Deleted Chunk ", newkey);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
copyChunksByCoords(-160, 60, -60, 160);
|
module.exports = copyChunksByCoords;
|
||||||
|
|
||||||
|
// copyChunksByCoords(-160, 60, -60, 160);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user