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,4 +1,4 @@
import { getReference } from './structReferences.js'
import { getStructReference } from '../structReferences.js'
export const RootFakeUserID = 0xFFFFFF
@@ -6,7 +6,7 @@ export default class RootID {
constructor (name, typeConstructor) {
this.user = RootFakeUserID
this.name = name
this.type = getReference(typeConstructor)
this.type = getStructReference(typeConstructor)
}
equals (id) {
return id !== null && id.user === this.user && id.name === this.name && id.type === this.type