Commit d1865a8f authored by nanahira's avatar nanahira

bump

parent 45fa6ffd
...@@ -15,6 +15,7 @@ app.plugin(ConsolePlugin, { ...@@ -15,6 +15,7 @@ app.plugin(ConsolePlugin, {
open: false, open: false,
}); });
app.plugin(SandboxPlugin); app.plugin(SandboxPlugin);
// app.plugin(SandboxPlugin);
// Some extras // Some extras
app.plugin(ExtrasInDev); app.plugin(ExtrasInDev);
......
This diff is collapsed.
...@@ -27,16 +27,16 @@ ...@@ -27,16 +27,16 @@
}, },
"homepage": "https://code.mycard.moe/3rdeye/koishi-plugin-mcinfo", "homepage": "https://code.mycard.moe/3rdeye/koishi-plugin-mcinfo",
"dependencies": { "dependencies": {
"koishi-thirdeye": "^11.0.12", "koishi-thirdeye": "^11.1.0",
"minecraft-protocol": "^1.30.0" "minecraft-protocol": "^1.30.0"
}, },
"peerDependencies": { "peerDependencies": {
"koishi": "^4.8.7" "koishi": "^4.9.1"
}, },
"devDependencies": { "devDependencies": {
"@koishijs/plugin-console": "^4.1.1", "@koishijs/plugin-console": "^4.5.4",
"@koishijs/plugin-database-memory": "^1.4.1", "@koishijs/plugin-database-memory": "^1.5.0",
"@koishijs/plugin-sandbox": "^2.0.1", "@koishijs/plugin-sandbox": "^2.2.9",
"@types/jest": "^27.4.0", "@types/jest": "^27.4.0",
"@types/node": "^17.0.18", "@types/node": "^17.0.18",
"@typescript-eslint/eslint-plugin": "^4.33.0", "@typescript-eslint/eslint-plugin": "^4.33.0",
......
...@@ -20,7 +20,7 @@ export default class MinecraftInfoPlugin extends StarterPlugin() { ...@@ -20,7 +20,7 @@ export default class MinecraftInfoPlugin extends StarterPlugin() {
let text = ''; let text = '';
if (result.favicon?.startsWith('data:image/png;base64,')) { if (result.favicon?.startsWith('data:image/png;base64,')) {
const base64Text = result.favicon.slice(22).replace(/\n/g, ''); const base64Text = result.favicon.slice(22).replace(/\n/g, '');
text += segment.image(`base64://${base64Text}`); text += segment.image(`base64://${base64Text}`).toString();
text += '\n'; text += '\n';
} }
return text; return text;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment