mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 01:37:37 +00:00
Use BlockStateHolder for setBlocks
This commit is contained in:
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));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user