Merge pull request #307 from kenzierocks/hotfix/server

Forge: Change getWorld().getLoadedEntityList() -> getWorld().loadedEntityList.
This commit is contained in:
sk89q 2014-10-23 16:39:04 -07:00
commit 533ad5ef0a

View File

@ -393,7 +393,7 @@ public class ForgeWorld extends AbstractWorld {
@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;