Remove newlines from custom disguise saving
This commit is contained in:
parent
5019cb985b
commit
7f50acf061
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user