Skip to content

Commit

Permalink
Change automatic upgrading of command-costs to 'command' instead
Browse files Browse the repository at this point in the history
  • Loading branch information
FrankHeijden committed Dec 30, 2020
1 parent 0a03e50 commit 76e45fd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ private void convertCommandCosts(ConfigurationSection commandCosts, EssentialsCo
for (Map.Entry<String, Object> entry : commandCosts.getValues(false).entrySet()) {
LOGGER.info("Converting cost \"" + entry.getKey() + "\"");

config.set("filters." + entry.getKey() + ".pattern", entry.getKey());
config.set("filters." + entry.getKey() + ".command", entry.getKey());
config.set("filters." + entry.getKey() + ".cost", entry.getValue());
}
}
Expand Down

0 comments on commit 76e45fd

Please sign in to comment.