Use universal field, not client only method

Dieser Commit ist enthalten in:
Kenzie Togami 2014-10-17 16:36:00 -07:00
Ursprung 82a352fcc2
Commit 8da2b84b2e

Datei anzeigen

@ -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;