Fix for @UUID00

This commit is contained in:
Jesse Boyd 2017-03-08 06:06:04 +11:00
parent b4e4ffa0fc
commit 5759cd0589
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F
2 changed files with 2 additions and 2 deletions

View File

@ -78,7 +78,7 @@ public class PlotSquaredFeature extends FaweMaskManager {
} else { } else {
regions = WEManager.getMask(pp); regions = WEManager.getMask(pp);
} }
if (regions.size() == 0) { if (regions == null || regions.size() == 0) {
return null; return null;
} }
final HashSet<com.boydti.fawe.object.RegionWrapper> faweRegions = new HashSet<>(); final HashSet<com.boydti.fawe.object.RegionWrapper> faweRegions = new HashSet<>();

View File

@ -512,7 +512,7 @@ public class BrushCommands {
@Command( @Command(
aliases = { "shatter", "partition", "split" }, aliases = { "shatter", "partition", "split" },
usage = "<pattern> [radius] [count] [distance]", usage = "<pattern> [radius] [count]",
desc = "Creates random lines to break the terrain into pieces", desc = "Creates random lines to break the terrain into pieces",
help = help =
"Chooses the shatter brush", "Chooses the shatter brush",