From ad9e9b0077da0243f9d72b3a5154324babff8d4c Mon Sep 17 00:00:00 2001 From: Daniel Saukel Date: Thu, 9 Jun 2016 22:22:32 +0200 Subject: [PATCH] Fix language file serialization --- .../java/io/github/dre2n/dungeonsxl/config/DMessages.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/io/github/dre2n/dungeonsxl/config/DMessages.java b/src/main/java/io/github/dre2n/dungeonsxl/config/DMessages.java index beaad899..4a8f6756 100644 --- a/src/main/java/io/github/dre2n/dungeonsxl/config/DMessages.java +++ b/src/main/java/io/github/dre2n/dungeonsxl/config/DMessages.java @@ -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;