mirror of
https://github.com/tribufu/node-gamedig
synced 2026-05-06 15:17:36 +00:00
Clean up imports to make Intellij code analysis happy
This commit is contained in:
parent
68ee06ef11
commit
a054557f10
40 changed files with 139 additions and 57 deletions
|
|
@ -1,5 +1,6 @@
|
|||
const varint = require('varint'),
|
||||
async = require('async');
|
||||
async = require('async'),
|
||||
Core = require('./core');
|
||||
|
||||
function varIntBuffer(num) {
|
||||
return Buffer.from(varint.encode(num));
|
||||
|
|
@ -14,8 +15,9 @@ function buildPacket(id,data) {
|
|||
]);
|
||||
}
|
||||
|
||||
class Minecraft extends require('./core') {
|
||||
class Minecraft extends Core {
|
||||
run(state) {
|
||||
/** @type Buffer */
|
||||
let receivedData;
|
||||
|
||||
async.series([
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue