Fixed a concurrent modifier exception.

This commit is contained in:
unknown 2015-01-23 13:17:38 -06:00
parent cf32ed48a9
commit f874d651e4

View file

@ -73,7 +73,7 @@ public class ThaumcraftHelper {
} }
public static void removeEntityAspects(String name) { public static void removeEntityAspects(String name) {
List<EntityTags> tags = ThaumcraftApi.scanEntities; List<EntityTags> tags = new ArrayList(ThaumcraftApi.scanEntities);
for(EntityTags tag : tags) for(EntityTags tag : tags)
{ {
if(tag.entityName==name && tag.nbts.length==0) if(tag.entityName==name && tag.nbts.length==0)