Use BlockVectorSet

This commit is contained in:
Jesse Boyd
2019-04-06 01:01:05 +11:00
parent f7cdae5e56
commit 9e2832c273
4 changed files with 11 additions and 6 deletions

View File

@@ -19,6 +19,7 @@
package com.sk89q.worldedit.regions;
import com.boydti.fawe.object.collection.BlockVectorSet;
import com.sk89q.worldedit.math.BlockVector2;
import com.sk89q.worldedit.math.BlockVector3;
import com.sk89q.worldedit.math.Vector3;
@@ -181,7 +182,7 @@ public abstract class AbstractRegion implements Region {
@Override
public Set<BlockVector3> getChunkCubes() {
final Set<BlockVector3> chunks = new HashSet<>();
final Set<BlockVector3> chunks = new BlockVectorSet();
final BlockVector3 min = getMinimumPoint();
final BlockVector3 max = getMaximumPoint();