Skip to content

Commit 0ec862c

Browse files
committed
Make #fullcube match double slabs
1 parent a8b6be9 commit 0ec862c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public FullCubeMask(Extent extent) {
3434
public boolean test(BlockVector3 vector) {
3535
Extent extent = getExtent();
3636
BlockState block = extent.getBlock(vector);
37-
return block.getBlockType().getMaterial().isFullCube(ShapeType.SHAPE);
37+
return block.getMaterial().isFullCube(ShapeType.SHAPE);
3838
}
3939

4040
}

0 commit comments

Comments
 (0)