|
|
@ -192,7 +192,7 @@ public class ItemTemplate { |
|
|
|
restrict = ((Boolean) class_required.get("restrict")); |
|
|
|
restrict = ((Boolean) class_required.get("restrict")); |
|
|
|
JSONArray classes = (JSONArray) class_required.get("classes"); |
|
|
|
JSONArray classes = (JSONArray) class_required.get("classes"); |
|
|
|
|
|
|
|
|
|
|
|
for (Object o : races) { |
|
|
|
for (Object o : classes) { |
|
|
|
String classEntry = (String) o; |
|
|
|
String classEntry = (String) o; |
|
|
|
classEntry = classEntry.replaceAll("\\s", ""); |
|
|
|
classEntry = classEntry.replaceAll("\\s", ""); |
|
|
|
classEntry = classEntry.replaceAll(",", ""); |
|
|
|
classEntry = classEntry.replaceAll(",", ""); |
|
|
|