mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-01-22 15:10:05 +00:00
Use universal field, not client only method
This commit is contained in:
parent
82a352fcc2
commit
8da2b84b2e
@ -393,7 +393,7 @@ public class ForgeWorld extends AbstractWorld {
|
|||||||
@Override
|
@Override
|
||||||
public List<? extends Entity> getEntities() {
|
public List<? extends Entity> getEntities() {
|
||||||
List<Entity> entities = new ArrayList<Entity>();
|
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));
|
entities.add(new ForgeEntity((net.minecraft.entity.Entity) entity));
|
||||||
}
|
}
|
||||||
return entities;
|
return entities;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user