Skip to content

Commit 466dcf7

Browse files
committed
Fix build and remove sysout
1 parent 7165cb7 commit 466dcf7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Towny/src/main/java/com/palmergames/bukkit/towny/TownySettings.java

+1-3
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ private static void loadSwitchAndItemUseMaterialsLists() {
402402
* Scan over them and replace any grouping with the contents of the group.
403403
* Add single item or grouping to ItemUseMaterials.
404404
*/
405-
itemUseMaterials.addAll(toMaterialSet(getStrArr(ConfigNodes.PROT_ITEM_USE_MAT));
405+
itemUseMaterials.addAll(toMaterialSet(getStrArr(ConfigNodes.PROT_ITEM_USE_MAT)));
406406
}
407407

408408
public static Set<EntityType> toEntityTypeSet(List<String> entityList) {
@@ -964,8 +964,6 @@ private static void loadCustomGroups() {
964964

965965
for (Map.Entry<String, String> entry : getMap(ConfigNodes.CUSTOM_LISTS_ENTITY_LISTS).entrySet())
966966
EntityLists.addGroup(entry.getKey(), (EntityLists) constructRegistryList(EntityLists.newBuilder(), Tag.REGISTRY_ENTITY_TYPES, entry.getValue().split(","), EntityType::getEntityClass));
967-
968-
System.out.println(EntityLists.getGrouping("test"));
969967
}
970968

971969
private static <T extends Keyed, F extends AbstractRegistryList<T>> AbstractRegistryList<T> constructRegistryList(final AbstractRegistryList.Builder<T, F> builder, final String registryName, final String[] elements, final Function<T, Class<?>> classExtractor) throws TownyInitException {

0 commit comments

Comments
 (0)