mirror of
https://github.com/EarthMC/QuickShop-Reremake.git
synced 2026-11-24 17:39:52 -05:00
Changed Custom Item Name config format.
This commit is contained in:
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]);
|
||||
|
||||
Reference in new issue
Block a user