mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-04 03:56:41 +00:00
Fix fuzzy region
This commit is contained in:
@ -717,8 +717,7 @@ public class SelectionCommands {
|
||||
case FUZZY:
|
||||
case MAGIC:
|
||||
Mask maskOpt = new IdMask(world);
|
||||
//TODO Make FuzzyRegionSelector accept actors
|
||||
newSelector = new FuzzyRegionSelector((Player) actor, world, maskOpt);
|
||||
newSelector = new FuzzyRegionSelector(actor, world, maskOpt);
|
||||
actor.print(Caption.of("fawe.selection.sel.fuzzy"));
|
||||
actor.print(Caption.of("fawe.selection.sel.list"));
|
||||
break;
|
||||
|
@ -210,7 +210,9 @@ public abstract class BreadthFirstSearch implements Operation {
|
||||
* Add the given location to the list of locations to visit, provided
|
||||
* that it has not been visited. The position passed to this method
|
||||
* will still be visited even if it fails
|
||||
* {@link #isVisitable(BlockVector3, BlockVector3)}.
|
||||
* {@link #isVisitable(BlockVector3, BlockVector3)} as
|
||||
* {@link #isVisitable(BlockVector3, BlockVector3)} is never actually
|
||||
* called.
|
||||
*
|
||||
* <p>This method should be used before the search begins, because if
|
||||
* the position <em>does</em> fail the test, and the search has already
|
||||
|
Reference in New Issue
Block a user