rename hostname to host (#74)

This commit is contained in:
u9g 2021-04-23 03:23:43 -04:00 committed by GitHub
commit 39659cf48b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
23 changed files with 62 additions and 64 deletions

View file

@ -1,6 +1,6 @@
const { createClient } = require('bedrock-protocol')
const client = createClient({ hostname: '127.0.0.1' })
const client = createClient({ host: '127.0.0.1' })
let ix = 0
client.on('packet', (args) => {