public final void setPerformer(final String[] args)
{
final String[] parameters = new String[args.length + 1];
parameters[0] = "";
System.arraycopy(args, 0, parameters, 1, args.length);
<BUG>if (this.brushTools.containsKey(this.player.getItemInHand().getType()))
{
final BrushTool brushTool = this.brushTools.get(this.player.getItemInHand().getType());
brushTool.setPerformer(parameters);</BUG>
}

public final void setPerformer(final String[] args)
{
final String[] parameters = new String[args.length + 1];
parameters[0] = "";
System.arraycopy(args, 0, parameters, 1, args.length);
ItemStack itemStackInHand = this.player.getItemInHand();
Material itemInHand = itemStackInHand == null ? null : itemStackInHand.getType();
if (itemInHand != null && this.brushTools.containsKey(itemInHand))
{
final BrushTool brushTool = this.brushTools.get(itemInHand);
brushTool.setPerformer(parameters);
}
