public boolean hasPowertool(ItemType mat) {
   if (pts == null) {
     JsonConfig data = getPlayerConfig();
     pts = new HashMap<>();
     if (data.contains("powertool")) {
       for (String s : data.listKeys("powertool", false)) {
         ArrayList<String> l = (ArrayList<String>) data.getStringList("powertool." + s);
         pts.put(ItemDatabase.getItem(s).getItem(), l);
       }
     }
     save();
   }
   return pts.containsKey(mat);
 }
 public void setPowertool(ItemType mat, List<String> cmds) {
   JsonConfig data = getPlayerConfig();
   if (pts == null) {
     pts = new HashMap<>();
     if (data.contains("powertool")) {
       for (String s : data.listKeys("powertool", false)) {
         ArrayList<String> l = (ArrayList<String>) data.getStringList("powertool." + s);
         pts.put(ItemDatabase.getItem(s).getItem(), l);
       }
     }
   }
   pts.put(mat, cmds);
   data.set("powertool." + mat.toString(), cmds);
   data.save();
   save();
 }