mirror of
https://github.com/DRE2N/DungeonsXL.git
synced 2024-11-14 14:45:31 +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() {
|
||||
FileConfiguration config = new YamlConfiguration();
|
||||
for (Messages message : values()) {
|
||||
config.set(message.getIdentifier(), message.getMessage());
|
||||
for (DMessages message : values()) {
|
||||
config.set(message.getIdentifier(), message.message);
|
||||
}
|
||||
|
||||
return config;
|
||||
|
Loading…
Reference in New Issue
Block a user