- Completed CTF

This commit is contained in:
AlexTheCoder 2015-11-08 03:04:17 -05:00
parent 211298327f
commit 9e24a5005f

View File

@ -86,6 +86,11 @@ public class Flag
_patterns.add(new Pattern(DyeColor.RED, PatternType.FLOWER));
_patterns.add(new Pattern(DyeColor.BLACK, PatternType.BORDER));
_patterns.add(new Pattern(DyeColor.BLACK, PatternType.TRIANGLE_TOP));
_patterns.add(new Pattern(DyeColor.BLACK, PatternType.RHOMBUS_MIDDLE));
_patterns.add(new Pattern(DyeColor.RED, PatternType.FLOWER));
_patterns.add(new Pattern(DyeColor.BLACK, PatternType.GRADIENT));
_patterns.add(new Pattern(DyeColor.BLACK, PatternType.CIRCLE_MIDDLE));
_patterns.add(new Pattern(DyeColor.BLACK, PatternType.TRIANGLE_TOP));
}
else
{
@ -99,14 +104,15 @@ public class Flag
_patterns.add(new Pattern(DyeColor.BLACK, PatternType.RHOMBUS_MIDDLE));
_patterns.add(new Pattern(DyeColor.BLACK, PatternType.TRIANGLES_TOP));
_patterns.add(new Pattern(DyeColor.BLACK, PatternType.TRIANGLES_BOTTOM));
_patterns.add(new Pattern(DyeColor.BLUE, PatternType.DIAGONAL_LEFT));
_patterns.add(new Pattern(DyeColor.BLUE, PatternType.DIAGONAL_RIGHT));
_patterns.add(new Pattern(DyeColor.BLUE, PatternType.STRIPE_DOWNRIGHT));
_patterns.add(new Pattern(DyeColor.BLUE, PatternType.STRIPE_DOWNLEFT));
_patterns.add(new Pattern(DyeColor.BLACK, PatternType.CROSS));
_patterns.add(new Pattern(DyeColor.BLUE, PatternType.FLOWER));
}
BannerMeta im = (BannerMeta) i.getItemMeta();
im.setBaseColor(_dyeData);
im.setPatterns(_patterns);
im.setDisplayName(_displayName);
i.setItemMeta(im);
@ -179,6 +185,7 @@ public class Flag
_flagBlock.setType(Material.STANDING_BANNER);
Banner banner = (Banner) _flagBlock.getState();
banner.setBaseColor(_dyeData);
banner.setPatterns(_patterns);
banner.update();
}
@ -266,6 +273,7 @@ public class Flag
_flagBlock.setType(Material.STANDING_BANNER);
Banner banner = (Banner) _flagBlock.getState();
banner.setBaseColor(_dyeData);
banner.setPatterns(_patterns);
banner.update();
if (!_moved)