Use BlockStateHolder for setBlocks

This commit is contained in:
Matthew Miller 2018-08-10 20:36:00 +10:00
parent f54d6afb65
commit f96487a2d1

View File

@ -743,7 +743,7 @@ public class EditSession implements Extent {
* @return number of blocks affected
* @throws MaxChangedBlocksException thrown if too many blocks are changed
*/
public int setBlocks(Region region, BaseBlock block) throws MaxChangedBlocksException {
public int setBlocks(Region region, BlockStateHolder block) throws MaxChangedBlocksException {
return setBlocks(region, new BlockPattern(block));
}