Remove immutable list from brushes to prevent possible startup issue.

This commit is contained in:
MattBDev 2019-09-03 15:33:07 -04:00
parent cafb4120ef
commit 2548b955ac

View File

@ -35,6 +35,7 @@ import com.boydti.fawe.util.TaskManager;
import com.boydti.fawe.wrappers.LocationMaskedPlayerWrapper;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableSet;
import com.google.common.collect.Lists;
import com.google.common.reflect.TypeToken;
import com.sk89q.worldedit.EditSession;
import com.sk89q.worldedit.IncompleteRegionException;
@ -397,7 +398,7 @@ public final class PlatformCommandManager {
);
registerSubCommands(
"brush",
ImmutableList.of("br", "/brush", "/br", "/tool", "tool"),
Lists.newArrayList("br", "/brush", "/br", "/tool", "tool"),
"Brushing commands",
commandManager,
c -> {