Skip to content
Snippets Groups Projects
Commit 49815299 authored by Zandor Smith's avatar Zandor Smith :computer:
Browse files

* woops

parent 8f267c14
No related branches found
No related tags found
No related merge requests found
......@@ -55,7 +55,7 @@ public class UltimateKits extends JavaPlugin {
for(String kit : this.getConfig().getConfigurationSection("kits").getKeys(false)) {
String name = kit;
HashMap<Material, Integer> items = new HashMap<Material, Integer>();
for(String item : this.getConfig().getConfigurationSection("kits." + kit + ".items").getKeys(true)) {
for(String item : this.getConfig().getConfigurationSection("kits." + kit + ".items").getKeys(false)) {
String[] item1 = item.split(":");
items.put(Material.getMaterial(Integer.valueOf(item1[0])), Integer.valueOf(item1[1]));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment