From 8da2b84b2ea51c2abc14bb50c0aba74527dd0fba Mon Sep 17 00:00:00 2001 From: Kenzie Togami Date: Fri, 17 Oct 2014 16:36:00 -0700 Subject: [PATCH] Use universal field, not client only method --- src/forge/java/com/sk89q/worldedit/forge/ForgeWorld.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/forge/java/com/sk89q/worldedit/forge/ForgeWorld.java b/src/forge/java/com/sk89q/worldedit/forge/ForgeWorld.java index 157b44954..e5514c388 100644 --- a/src/forge/java/com/sk89q/worldedit/forge/ForgeWorld.java +++ b/src/forge/java/com/sk89q/worldedit/forge/ForgeWorld.java @@ -393,7 +393,7 @@ public class ForgeWorld extends AbstractWorld { @Override public List getEntities() { List entities = new ArrayList(); - for (Object entity : getWorld().getLoadedEntityList()) { + for (Object entity : getWorld().loadedEntityList) { entities.add(new ForgeEntity((net.minecraft.entity.Entity) entity)); } return entities;