mirror of
https://github.com/DRE2N/DungeonsXL.git
synced 2025-01-08 09:17:46 +01:00
Fix language file serialization
This commit is contained in:
parent
fa5020f348
commit
ad9e9b0077
@ -223,8 +223,8 @@ public enum DMessages implements Messages {
|
|||||||
*/
|
*/
|
||||||
public static FileConfiguration toConfig() {
|
public static FileConfiguration toConfig() {
|
||||||
FileConfiguration config = new YamlConfiguration();
|
FileConfiguration config = new YamlConfiguration();
|
||||||
for (Messages message : values()) {
|
for (DMessages message : values()) {
|
||||||
config.set(message.getIdentifier(), message.getMessage());
|
config.set(message.getIdentifier(), message.message);
|
||||||
}
|
}
|
||||||
|
|
||||||
return config;
|
return config;
|
||||||
|
Loading…
Reference in New Issue
Block a user