Skip to content

Commit

Permalink
Allow unicode characters as userdata file is now written in UTF-8
Browse files Browse the repository at this point in the history
  • Loading branch information
zp4rker committed Jul 4, 2024
1 parent fcf6e64 commit 1e2b3f1
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,6 @@ public List<String> getHomes() {
}

public void setHome(String name, final Location loc) {
//Invalid names will corrupt the yaml
name = StringUtil.safeString(name);
holder.homes().put(name, LazyLocation.fromLocation(loc));
config.save();
}
Expand Down

0 comments on commit 1e2b3f1

Please sign in to comment.