3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-11-05 02:50:05 +01:00

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