Skip to content

Commit 0b9c8d5

Browse files
committed
Fixed ambiguous method reference
1 parent b94d3c3 commit 0b9c8d5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

worldedit-core/src/main/java/com/sk89q/worldedit/extent/world/SurvivalModeExtent.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
import com.sk89q.worldedit.extent.AbstractDelegateExtent;
2424
import com.sk89q.worldedit.extent.Extent;
2525
import com.sk89q.worldedit.math.BlockVector3;
26+
import com.sk89q.worldedit.util.nbt.CompoundBinaryTag;
2627
import com.sk89q.worldedit.world.World;
2728
import com.sk89q.worldedit.world.block.BlockStateHolder;
2829

@@ -95,7 +96,7 @@ public <B extends BlockStateHolder<B>> boolean setBlock(BlockVector3 location, B
9596
} else {
9697
// Can't be an inlined check due to inconsistent generic return type
9798
if (stripNbt) {
98-
return super.setBlock(location, block.toBaseBlock(null));
99+
return super.setBlock(location, block.toBaseBlock((CompoundBinaryTag) null));
99100
} else {
100101
return super.setBlock(location, block);
101102
}

0 commit comments

Comments
 (0)