Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-09 13:00:05 +01:00
Only copy entities from within the region
Dieser Commit ist enthalten in:
Ursprung
d48ea909b5
Commit
6046fa1cec
@ -353,7 +353,8 @@ public class ForwardExtentCopy implements Operation {
|
||||
entities = source.getEntities()
|
||||
.stream()
|
||||
.filter(entity -> entity.getState() != null &&
|
||||
!entity.getState().getType().getId().equals("minecraft:player"))
|
||||
!entity.getState().getType().getId().equals("minecraft:player") &&
|
||||
region.contains(entity.getLocation().toVector()))
|
||||
.collect(Collectors.toList());
|
||||
} else {
|
||||
entities = new ArrayList<>();
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren