diff --git a/src/main/java/me/libraryaddict/disguise/DisguiseAPI.java b/src/main/java/me/libraryaddict/disguise/DisguiseAPI.java index e44fcdce..48cfaa37 100644 --- a/src/main/java/me/libraryaddict/disguise/DisguiseAPI.java +++ b/src/main/java/me/libraryaddict/disguise/DisguiseAPI.java @@ -56,7 +56,7 @@ public class DisguiseAPI { } ConfigurationSection section = configuration.getConfigurationSection("Disguises"); - section.set(disguiseName, disguiseInfo); + section.set(disguiseName, disguiseInfo.replace("\n", "\\n").replace("\r", "\\r")); configuration.save(disguisesFile);