Update tests (#528)
* Debug * Update internal.js * Update internal.js * Update internal.js * Update internal.js
This commit is contained in:
parent
418efa1da6
commit
cb530c8b45
1 changed files with 2 additions and 2 deletions
|
|
@ -14,7 +14,7 @@ function prepare (version) {
|
|||
|
||||
async function startTest (version = CURRENT_VERSION, ok) {
|
||||
await prepare(version)
|
||||
const Item = require('../types/Item')(version)
|
||||
// const Item = require('../types/Item')(version)
|
||||
const port = await getPort()
|
||||
const server = new Server({ host: '0.0.0.0', port, version, offline: true })
|
||||
|
||||
|
|
@ -56,7 +56,7 @@ async function startTest (version = CURRENT_VERSION, ok) {
|
|||
client.write('network_settings', { compression_threshold: 1 })
|
||||
// Send some inventory slots
|
||||
for (let i = 0; i < 3; i++) {
|
||||
client.queue('inventory_slot', { window_id: 'armor', slot: 0, item: new Item().toBedrock() })
|
||||
// client.queue('inventory_slot', { window_id: 'armor', slot: 0, item: new Item().toBedrock() })
|
||||
}
|
||||
|
||||
// client.queue('inventory_transaction', get('packets/inventory_transaction.json'))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue