Skip to content

Commit 76e45fd

Browse files
committed
Change automatic upgrading of command-costs to 'command' instead
1 parent 0a03e50 commit 76e45fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Essentials/src/main/java/com/earth2me/essentials/EssentialsUpgrade.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ private void convertCommandCosts(ConfigurationSection commandCosts, EssentialsCo
269269
for (Map.Entry<String, Object> entry : commandCosts.getValues(false).entrySet()) {
270270
LOGGER.info("Converting cost \"" + entry.getKey() + "\"");
271271

272-
config.set("filters." + entry.getKey() + ".pattern", entry.getKey());
272+
config.set("filters." + entry.getKey() + ".command", entry.getKey());
273273
config.set("filters." + entry.getKey() + ".cost", entry.getValue());
274274
}
275275
}

0 commit comments

Comments
 (0)