mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-06-12 20:43:54 +00:00
@ -353,7 +353,8 @@ public class ForwardExtentCopy implements Operation {
|
|||||||
entities = source.getEntities()
|
entities = source.getEntities()
|
||||||
.stream()
|
.stream()
|
||||||
.filter(entity -> entity.getState() != null &&
|
.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());
|
.collect(Collectors.toList());
|
||||||
} else {
|
} else {
|
||||||
entities = new ArrayList<>();
|
entities = new ArrayList<>();
|
||||||
|
Reference in New Issue
Block a user