Skip to content

Commit a389be7

Browse files
committed
Fix critical error in User EntityClass definition resulting from exposed relocation
1 parent 98ecc4d commit a389be7

File tree

1 file changed

+1
-1
lines changed
  • proxy/src/main/kotlin/org/anvilpowered/catalyst/proxy/db/user

1 file changed

+1
-1
lines changed

proxy/src/main/kotlin/org/anvilpowered/catalyst/proxy/db/user/Users.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,5 @@ internal class DBUser(id: EntityID<UUID>) : UUIDEntity(id), User {
3939
override var discordUserId: Long? by Users.discordUserId
4040
override var minecraftUser: DBMinecraftUser? by DBMinecraftUser optionalReferencedOn Users.minecraftUserId
4141

42-
companion object : UUIDEntityClass<DBUser>(Users)
42+
companion object : UUIDEntityClass<DBUser>(Users, DBUser::class.java, ::DBUser)
4343
}

0 commit comments

Comments
 (0)