3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-12-25 18:40:05 +01:00

Merge pull request #307 from kenzierocks/hotfix/server

Forge: Change getWorld().getLoadedEntityList() -> getWorld().loadedEntityList.
Dieser Commit ist enthalten in:
sk89q 2014-10-23 16:39:04 -07:00
Commit 533ad5ef0a

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;