Use BlockStateHolder for setBlocks

Dieser Commit ist enthalten in:
Matthew Miller 2018-08-10 20:36:00 +10:00
Ursprung f54d6afb65
Commit f96487a2d1

Datei anzeigen

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