mirror of
https://github.com/Verdurae/PlaceholderPlus.git
synced 2026-11-28 07:35:21 +08:00
fix?
This commit is contained in:
1 parent
87ba8eeaf9
commit
149d6c05c3
1 file changed
+1
-1
@@ -24,7 +24,7 @@ public class PlayerData {
|
|||||||
Map<String, Object> value = PlaceholderPlus.config.getValues(true);
|
Map<String, Object> value = PlaceholderPlus.config.getValues(true);
|
||||||
for (String key : value.keySet()) {
|
for (String key : value.keySet()) {
|
||||||
if (key.startsWith("Placeholders.")) {
|
if (key.startsWith("Placeholders.")) {
|
||||||
if (!data.contains(key.replace("Placeholders.", ""))) data.set(key.replace("Placeholders.", ""), value.get(key));
|
if (!data.contains(key.replace("Placeholders..", ""))) data.set(key.replace("Placeholders.", ""), value.get(key));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return data;
|
return data;
|
||||||
|
|||||||
Reference in new issue
Block a user