Fixed //move

This commit is contained in:
Matthew Miller
2018-08-03 20:58:58 +10:00
parent 7773ef6f9a
commit 2f3bc59e1b
3 changed files with 5 additions and 3 deletions

View File

@ -1046,7 +1046,7 @@ public class EditSession implements Extent {
* @return number of blocks moved
* @throws MaxChangedBlocksException thrown if too many blocks are changed
*/
public int moveRegion(Region region, Vector dir, int distance, boolean copyAir, BaseBlock replacement) throws MaxChangedBlocksException {
public int moveRegion(Region region, Vector dir, int distance, boolean copyAir, BlockStateHolder replacement) throws MaxChangedBlocksException {
checkNotNull(region);
checkNotNull(dir);
checkArgument(distance >= 1, "distance >= 1 required");