Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7ff3eeef06 | ||
|
|
58faf6de23 |
@@ -39,7 +39,7 @@ class EcoProfileHandler(
|
|||||||
}
|
}
|
||||||
|
|
||||||
override fun saveKeysFor(uuid: UUID, keys: Set<PersistentDataKey<*>>) {
|
override fun saveKeysFor(uuid: UUID, keys: Set<PersistentDataKey<*>>) {
|
||||||
val profile = PlayerProfile.load(uuid)
|
val profile = loadGenericProfile(uuid)
|
||||||
|
|
||||||
for (key in keys) {
|
for (key in keys) {
|
||||||
handler.write(uuid, key.key, profile.read(key))
|
handler.write(uuid, key.key, profile.read(key))
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
version = 6.22.2
|
version = 6.22.3
|
||||||
plugin-name = eco
|
plugin-name = eco
|
||||||
kotlin.code.style = official
|
kotlin.code.style = official
|
||||||
Reference in New Issue
Block a user