From 1e2b3f1701ae9698293c1be81de615a1752f6e4a Mon Sep 17 00:00:00 2001 From: Zaeem Parker Date: Thu, 4 Jul 2024 12:10:34 +1000 Subject: [PATCH] Allow unicode characters as userdata file is now written in UTF-8 Fixes #1742 --- Essentials/src/main/java/com/earth2me/essentials/UserData.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/Essentials/src/main/java/com/earth2me/essentials/UserData.java b/Essentials/src/main/java/com/earth2me/essentials/UserData.java index ae71b0cabb1..0b6622385e8 100644 --- a/Essentials/src/main/java/com/earth2me/essentials/UserData.java +++ b/Essentials/src/main/java/com/earth2me/essentials/UserData.java @@ -178,8 +178,6 @@ public List 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(); }