This commit is contained in:
Kaminy
2024-10-02 03:31:10 +08:00
parent 9c06df8fe4
commit 9dfa1281a5

View File

@@ -24,7 +24,7 @@ public class PlayerData {
Map<String, Object> value = PlaceholderPlus.config.getValues(true);
for (String key : value.keySet()) {
if (key.startsWith("Placeholders.")) {
if (!data.contains(key)) data.set(key.replace("Placeholders.", ""), value.get(key));
if (!data.contains(key.replace("Placeholders.", ""))) data.set(key.replace("Placeholders.", ""), value.get(key));
}
}
return data;