mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2025-02-18 13:21:54 +01:00
Merge remote-tracking branch 'origin/master' into develop-fix
# Conflicts: # pom.xml
This commit is contained in:
commit
b48a5a73b8
@ -16,7 +16,7 @@ import java.util.stream.Collectors;
|
||||
public class PasteHandlerImpl implements PasteHandler {
|
||||
@Override
|
||||
public CompletableFuture<Void> pasteBlocks(Island island, World world, Map<Location, BlueprintBlock> blockMap) {
|
||||
return blockMap.entrySet().parallelStream()
|
||||
return blockMap.entrySet().stream()
|
||||
.map(entry -> DefaultPasteUtil.setBlock(island, entry.getKey(), entry.getValue()))
|
||||
.collect(
|
||||
Collectors.collectingAndThen(
|
||||
@ -28,7 +28,7 @@ public class PasteHandlerImpl implements PasteHandler {
|
||||
|
||||
@Override
|
||||
public CompletableFuture<Void> pasteEntities(Island island, World world, Map<Location, List<BlueprintEntity>> entityMap) {
|
||||
return entityMap.entrySet().parallelStream()
|
||||
return entityMap.entrySet().stream()
|
||||
.map(entry -> DefaultPasteUtil.setEntity(island, entry.getKey(), entry.getValue()))
|
||||
.collect(
|
||||
Collectors.collectingAndThen(
|
||||
|
Loading…
Reference in New Issue
Block a user