Changed Custom Item Name config format.

This commit is contained in:
Kai committed 2016-05-27 11:59:32 +02:00
1 parent 6c0c0e669a
commit 3444b6451e
2 files changed
+3 -3

No files matched your search

@@ -164,7 +164,7 @@ public class QuickShop extends JavaPlugin {
throw new Exception("Invalid format (main args length must be 3)");
}
String[] matVal = mainVal[0].split("[:]");
String[] matVal = mainVal[0].split("[*]");
Material material = Material.matchMaterial(matVal[0]);
if (material==null) {
throw new Exception("Invalid material: "+matVal[0]);