Fixed a concurrent modifier exception.
This commit is contained in:
parent
cf32ed48a9
commit
f874d651e4
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue