Permalink
Browse files

MultiEnchants in kits, delimit item and quantity with hyphen ('-')

  • Loading branch information...
contra1337 committed Nov 7, 2016
1 parent 11fc5da commit b2f581094471085c910700deb831c62b4f7a6ede
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/com/sk89q/commandbook/kits/FlatFileKitsManager.java
@@ -100,7 +100,7 @@ public synchronized void load() {
continue;
}
- String[] parts = line.split("+");
+ String[] parts = line.split("-");
ItemStack item = ItemUtil.getItem(parts[0].replace(" ", ""));
if (item == null) {

0 comments on commit b2f5810

Please sign in to comment.