fix import locations

This commit is contained in:
Kevin Jahns
2018-03-06 05:22:18 +01:00
parent bbc207aaa6
commit 814af5a3d7
25 changed files with 49 additions and 48 deletions

View File

@@ -1,5 +1,5 @@
import { getReference } from '../Util/structReferences.js'
import ID from '../Util/ID/ID.js.js'
import { getStructReference } from '../Util/structReferences.js'
import ID from '../Util/ID/ID.js'
import { logID } from '../MessageHandler/messageToString.js'
/**
@@ -79,7 +79,7 @@ export default class Delete {
* @param {BinaryEncoder} encoder The encoder to write data to.
*/
_toBinary (encoder) {
encoder.writeUint8(getReference(this.constructor))
encoder.writeUint8(getStructReference(this.constructor))
encoder.writeID(this._targetID)
encoder.writeVarUint(this._length)
}