mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 09:47:38 +00:00
Actually filter out players, not everything else
This commit is contained in:
parent
88b665f141
commit
d48ea909b5
@ -353,7 +353,7 @@ 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"))
|
||||||
.collect(Collectors.toList());
|
.collect(Collectors.toList());
|
||||||
} else {
|
} else {
|
||||||
entities = new ArrayList<>();
|
entities = new ArrayList<>();
|
||||||
|
Loading…
Reference in New Issue
Block a user