MCPcopy Create free account
hub / github.com/PrismarineJS/node-minecraft-protocol / callTestPacket

Function callTestPacket

test/packetTest.js:521–527  ·  view source on GitHub ↗
(mcData, packetName, packetInfo, state, toServer)

Source from the content-addressed store, hash-verified

519 })
520 })
521 function callTestPacket (mcData, packetName, packetInfo, state, toServer) {
522 return function (done) {
523 client.state = state
524 serverClient.state = state
525 testPacket(mcData, packetName, packetInfo, state, toServer, done)
526 }
527 }
528
529 function testPacket (mcData, packetName, packetInfo, state, toServer, done) {
530 // empty object uses default values

Callers 1

packetTest.jsFile · 0.85

Calls 1

testPacketFunction · 0.85

Tested by

no test coverage detected