Permalink
Browse files

Merge pull request #112 from contra1337/Kit_MultiEnchant

Change the kit item quantity delimiter to - from , to support multiple enchantment syntax.
  • Loading branch information...
sk89q committed Nov 20, 2016
2 parents f3c2636 + 1fb101d commit dbe6a13510b6ffeea03a4ce70227f23b2e991a61
@@ -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) {
@@ -6,7 +6,7 @@
#
# The name of the items are names that you can use with the /item command,
# so you can do step:wood if you want. If you want to specify an amount, enter
-# the number after a comma, like "wood,64".
+# the number after a hyphen, like "wood-64".
#
# If you put <name>=# for a kit, then you can choose a "cool down" period
# in seconds. Players have to wait that amount of time before they can
@@ -16,4 +16,4 @@
woodpick
woodaxe
woodshovel
-wood,64
+wood-64

0 comments on commit dbe6a13

Please sign in to comment.