mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2025-02-27 06:21:59 +01:00
- Fixed descriptions saving as false for default
- Fixed not grindstoneable enchantments still being grindstoned
This commit is contained in:
parent
c16da47d09
commit
86eec1b706
@ -33,7 +33,7 @@ class PlayerProfile private constructor(
|
||||
Type.INT -> data[key] = handler.read(uuid, key, 0)
|
||||
Type.DOUBLE -> data[key] = handler.read(uuid, key, 0.0)
|
||||
Type.STRING -> data[key] = handler.read(uuid, key, "Unknown")
|
||||
Type.BOOLEAN -> data[key] = handler.read(uuid, key, false)
|
||||
Type.BOOLEAN -> data[key] = handler.read(uuid, key, true)
|
||||
}
|
||||
}
|
||||
|
||||
@ -50,7 +50,7 @@ class PlayerProfile private constructor(
|
||||
Type.INT -> handler.write(uuid, key, profile.read(key, 0))
|
||||
Type.DOUBLE -> handler.write(uuid, key, profile.read(key, 0.0))
|
||||
Type.STRING -> handler.write(uuid, key, profile.read(key, "Unknown Value"))
|
||||
Type.BOOLEAN -> handler.write(uuid, key, profile.read(key, false))
|
||||
Type.BOOLEAN -> handler.write(uuid, key, profile.read(key, true))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user