fix uuid generation for console

This commit is contained in:
creeper123123321 2023-04-09 19:53:49 -03:00
parent acbc0e9948
commit fae1f98ec2

View File

@ -77,6 +77,6 @@ object VIAaaSConsole : SimpleTerminalConsole(), ViaCommandSender {
}
override fun hasPermission(p0: String): Boolean = true
override fun getUUID(): UUID = UUID.fromString(name)
override fun getUUID(): UUID = UUID.nameUUIDFromBytes(name.toByteArray())
override fun getName(): String = "VIAaaS Console"
}