use of com.fastasyncworldedit.core.util.ExtentTraverser in project FastAsyncWorldEdit by IntellectualSites.
the class FuzzyRegionSelector method setWorld.
@Override
@SuppressWarnings({ "unchecked", "rawtypes" })
public void setWorld(@Nullable World world) {
EditSession extent = WorldEdit.getInstance().newEditSessionBuilder().world(world).actor(actor).changeSetNull().checkMemory(false).build();
new ExtentTraverser(this).setNext(extent);
this.region.setWorld(world);
this.region.setExtent(extent);
new MaskTraverser(getMask()).reset(extent);
}
Aggregations