Replaces while iterators with foreach call

This commit is contained in:
thatsIch
2014-09-29 09:26:35 +02:00
parent 72106c877d
commit b6ec21c70a
10 changed files with 33 additions and 36 deletions
@@ -58,11 +58,9 @@ public class AESharedNBT extends NBTTagCompound implements IAETagCompound
AESharedNBT x = new AESharedNBT( itemID, damageValue );
// c.getTags()
Iterator var2 = c.func_150296_c().iterator();
while (var2.hasNext())
for (Object o : c.func_150296_c())
{
String name = (String) var2.next();
String name = (String) o;
x.setTag( name, c.getTag( name ).copy() );
}