fix import locations
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user