mirror of
https://github.com/EngineHub/WorldEdit.git
synced 2025-01-12 12:25:03 +08:00
Use universal field, not client only method
This commit is contained in:
parent
82a352fcc2
commit
8da2b84b2e
@ -393,7 +393,7 @@ public List<? extends Entity> getEntities(Region region) {
|
||||
@Override
|
||||
public List<? extends Entity> getEntities() {
|
||||
List<Entity> entities = new ArrayList<Entity>();
|
||||
for (Object entity : getWorld().getLoadedEntityList()) {
|
||||
for (Object entity : getWorld().loadedEntityList) {
|
||||
entities.add(new ForgeEntity((net.minecraft.entity.Entity) entity));
|
||||
}
|
||||
return entities;
|
||||
|
Loading…
Reference in New Issue
Block a user