@Override
public void rightClickBlock(GlowPlayer player, GlowBlock target, BlockFace face, ItemStack holding, Vector clickedLoc) {
MaterialData data = holding.getData();
if (data instanceof Dye) {
final Dye dye = (Dye) data;
if (dye.getColor() == DyeColor.BROWN && target.getType() == Material.LOG) {
data = target.getState().getData();
if (data instanceof Tree &&
((Tree) data).getSpecies() == TreeSpecies.JUNGLE &&
target.getRelative(face).getType() == Material.AIR) {
final GlowBlockState state = target.getRelative(face).getState();