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:
HF 2020-06-28 06:09:10 +02:00
parent 35f1a7787c
commit 19c4b23046
3 changed files with 10 additions and 4 deletions

View File

@ -1,7 +1,7 @@
{
"presets": [
[
"@babel/env",
"@babel/preset-env",
{
"targets": {
"node": "current"
@ -9,7 +9,7 @@
}
],
"@babel/typescript",
"@babel/react",
"@babel/react"
],
"plugins": [
"@babel/transform-flow-strip-types",
@ -19,6 +19,6 @@
"@babel/plugin-proposal-numeric-separator",
"@babel/plugin-proposal-throw-expressions",
["@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

View File

@ -54,9 +54,15 @@ async function copyChunksByCoords(xMin, xMax, yMin, yMax) {
const setNXArgs = [newkey, chunk];
await newredis.sendCommandAsync('SET', setNXArgs);
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);