mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Fix
This commit is contained in:
@@ -73,7 +73,7 @@ module.exports = class PokedexBoxSpriteCommand extends Command {
|
||||
const x = 40 * (this.id % 12);
|
||||
const y = Math.floor(this.id / 12) * 30;
|
||||
ctx.imageSmoothingEnabled = false;
|
||||
ctx.drawImage(this.store.sprites, x, y, 40, 30, 0, 0, 250, 250);
|
||||
ctx.drawImage(this.client.pokemon.sprites, x, y, 40, 30, 0, 0, 250, 250);
|
||||
cropToContent(ctx, canvas.width, canvas.height);
|
||||
return msg.say(`#${pokemon.displayID} - ${pokemon.name}`, {
|
||||
files: [{
|
||||
|
||||
Reference in New Issue
Block a user