diff --git a/index.d.ts b/index.d.ts index 715210842..e9d679c8d 100644 --- a/index.d.ts +++ b/index.d.ts @@ -354,7 +354,7 @@ export interface Bot extends TypedEmitter { openVillager: ( villager: Entity - ) => Villager + ) => Promise trade: ( villagerInstance: Villager, diff --git a/lib/plugins/villager.js b/lib/plugins/villager.js index 871144fb4..6eb35ff0f 100644 --- a/lib/plugins/villager.js +++ b/lib/plugins/villager.js @@ -118,7 +118,6 @@ function inject (bot, { version }) { if (!ready) { ready = true villager.emit('ready') - console.log('emit ready') } } }