Added support for combined masks.

This commit is contained in:
sk89q
2011-06-04 11:42:45 -07:00
parent d881c14e2d
commit 504b4a613f
3 changed files with 90 additions and 13 deletions

View File

@ -87,7 +87,7 @@ public class ToolUtilCommands {
session.getBrushTool(player.getItemInHand()).setMask(null);
player.print("Brush mask disabled.");
} else {
Mask mask = we.getBlockMask(player, args.getString(0));
Mask mask = we.getBlockMask(player, args.getJoinedStrings(0));
session.getBrushTool(player.getItemInHand()).setMask(mask);
player.print("Brush mask set.");
}