Fix accumulation of duplicate categories.

This commit is contained in:
Sergio Martínez Portela 2020-06-04 19:48:45 +02:00
parent 486c342f86
commit f8786abc14

View File

@ -46,7 +46,7 @@ public class PartsHolder {
add(new Tuple2<>("ToString", ConvertToString.getInstantiator())); add(new Tuple2<>("ToString", ConvertToString.getInstantiator()));
}}; }};
private final static List<PartCategory> Categories = new Vector<PartCategory>() {{ private final List<PartCategory> Categories = new Vector<PartCategory>() {{
add(new PartCategory("Testing", BuiltInParts)); add(new PartCategory("Testing", BuiltInParts));
}}; }};
private Map<String, ProgramakerBridgeInfo> bridgeInfoMap; private Map<String, ProgramakerBridgeInfo> bridgeInfoMap;