MySQL Threading changes

This commit is contained in:
Auxilor
2021-11-12 14:12:15 +00:00
parent c912b97438
commit cc344bf7ca
3 changed files with 32 additions and 12 deletions

View File

@@ -14,4 +14,20 @@ class EcoPlayerProfile(
@Suppress("UNCHECKED_CAST")
return this.data[key] as T? ?: key.defaultValue
}
override fun equals(other: Any?): Boolean {
if (other !is EcoPlayerProfile) {
return false
}
return this.data == other.data
}
override fun hashCode(): Int {
return data.hashCode()
}
override fun toString(): String {
return "EcoPlayerProfile{$data}"
}
}