Skip to content

Commit 2f125ae

Browse files
committed
fix: move font registration log to correct location
1 parent 8a01281 commit 2f125ae

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ app.command("/craftie-player", async ({ command, ack, respond, client }) => {
9292
let errorsOccured = false;
9393

9494
console.log("Starting to generate status image...");
95-
console.log("Registered Minecraft font.");
9695

9796
const canvas = createCanvas(800, 400);
9897
const ctx = canvas.getContext('2d');
@@ -254,6 +253,7 @@ Online Players: ${onlinePlayers}`
254253

255254

256255
GlobalFonts.registerFromPath("./MinecraftDefault-Regular.ttf", "Minecraft");
256+
console.log("Registered Minecraft font.");
257257

258258
(async () => {
259259
await app.start();

0 commit comments

Comments
 (0)