mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-27 01:05:38 +00:00
forgot to push
This commit is contained in:
parent
3ea73f78e9
commit
156c85ce69
@ -37,6 +37,11 @@ public class Command_ro extends FreedomCommand
|
||||
materials.addAll(Groups.SHULKER_BOXES);
|
||||
names = "shulker boxes";
|
||||
}
|
||||
else if (args[0].equalsIgnoreCase("banners") || args[0].equalsIgnoreCase("banner"))
|
||||
{
|
||||
materials.addAll(Groups.BANNERS);
|
||||
names = "banners";
|
||||
}
|
||||
else
|
||||
{
|
||||
for (String materialName : StringUtils.split(args[0], ","))
|
||||
|
@ -160,4 +160,38 @@ public class Groups
|
||||
Material.ZOMBIE_HORSE_SPAWN_EGG,
|
||||
Material.ZOMBIE_PIGMAN_SPAWN_EGG,
|
||||
Material.ZOMBIE_VILLAGER_SPAWN_EGG);
|
||||
|
||||
public static final List<Material> BANNERS = Arrays.asList(
|
||||
Material.BLACK_BANNER,
|
||||
Material.BLACK_WALL_BANNER,
|
||||
Material.BLUE_BANNER,
|
||||
Material.BLUE_WALL_BANNER,
|
||||
Material.BROWN_BANNER,
|
||||
Material.BROWN_WALL_BANNER,
|
||||
Material.CYAN_BANNER,
|
||||
Material.CYAN_WALL_BANNER,
|
||||
Material.GRAY_BANNER,
|
||||
Material.GRAY_WALL_BANNER,
|
||||
Material.GREEN_BANNER,
|
||||
Material.GREEN_WALL_BANNER,
|
||||
Material.LIGHT_BLUE_BANNER,
|
||||
Material.LIGHT_BLUE_WALL_BANNER,
|
||||
Material.LIGHT_GRAY_BANNER,
|
||||
Material.LIGHT_GRAY_WALL_BANNER,
|
||||
Material.LIME_BANNER,
|
||||
Material.LIME_WALL_BANNER,
|
||||
Material.MAGENTA_BANNER,
|
||||
Material.MAGENTA_WALL_BANNER,
|
||||
Material.ORANGE_BANNER,
|
||||
Material.ORANGE_WALL_BANNER,
|
||||
Material.PINK_BANNER,
|
||||
Material.PINK_WALL_BANNER,
|
||||
Material.PURPLE_BANNER,
|
||||
Material.PURPLE_WALL_BANNER,
|
||||
Material.RED_BANNER,
|
||||
Material.RED_WALL_BANNER,
|
||||
Material.WHITE_BANNER,
|
||||
Material.WHITE_WALL_BANNER,
|
||||
Material.YELLOW_BANNER,
|
||||
Material.YELLOW_WALL_BANNER);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user