1
0
mirror of https://github.com/plexusorg/Plex-FAWE.git synced 2025-04-25 16:09:38 +00:00

Use BlockStateHolder for setBlocks

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

@ -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));
}