setDrops(new ItemStack(Material.BANNER));
}
@Override
public Collection<ItemStack> getDrops(GlowBlock block, ItemStack tool) {
GlowBanner state = (GlowBanner) block.getState();
ItemStack drop = new ItemStack(Material.BANNER, 1);
BannerMeta meta = (BannerMeta) drop.getItemMeta();
meta.setPattern(state.getPattern());
drop.setItemMeta(meta);
drop.setDurability(state.getBase().getDyeData());
return Arrays.asList(drop);
}