public class BannerPattern {
private static final Map<Character, DyeColor> colors = new HashMap<>();
static {
for (int i = 0; i < 16; i++)
colors.put((char) ('a' + i), DyeColor.getByWoolData((byte) (15 - i)));
<BUG>}
private final List<Pattern> patterns;
</BUG>
public BannerPattern(Nagger nagger, String pattern) throws IllegalArgumentException {
<BUG>ImmutableList.Builder<Pattern> patterns = ImmutableList.builder();
char[] array = pattern.toCharArray();</BUG>
if (array.length % 2 != 0) throw new IllegalArgumentException("Banner pattern length must be a multiple of 2!");

public class BannerPattern {
private static final Map<Character, DyeColor> colors = new HashMap<>();
static {
for (int i = 0; i < 16; i++)
colors.put((char) ('a' + i), DyeColor.getByWoolData((byte) (15 - i)));
}
private final Pattern baseColor;
private final List<Pattern> patterns = new ArrayList<>();
public BannerPattern(Nagger nagger, String pattern) throws IllegalArgumentException {
List<Pattern> patterns = new ArrayList<>();
char[] array = pattern.toCharArray();
if (array.length % 2 != 0) throw new IllegalArgumentException("Banner pattern length must be a multiple of 2!");
