Skip to content

Commit 8c003c2

Browse files
authored
Improve block category mask performance (#3148)
Improve block category mask
1 parent f03e16c commit 8c003c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

worldedit-core/src/main/java/com/sk89q/worldedit/function/mask/BlockCategoryMask.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public boolean test(BlockVector3 vector) {
5353
//FAWE start
5454
@Override
5555
public boolean test(Extent extent, BlockVector3 vector) {
56-
return category.contains(extent.getBlock(vector));
56+
return category.contains(vector.getBlock(extent));
5757
}
5858

5959
/**

0 commit comments

Comments
 (0)