NBT Fixery.

This commit is contained in:
AlgorithmX2
2014-02-15 01:05:28 -06:00
parent 109fef1821
commit ff4ff91f85
+13 -2
View File
@@ -347,7 +347,10 @@ public class Platform
List<NBTBase> tag = tagList( lA );
List<NBTBase> aTag = tagList( lB );
for (int x = 0; x < lA.tagCount(); x++)
if ( tag.size() != aTag.size() )
return false;
for (int x = 0; x < tag.size(); x++)
{
if ( aTag.get( x ) == null )
return false;
@@ -398,7 +401,15 @@ public class Platform
}
catch (Throwable t)
{
AELog.error( t );
try
{
tagList = lB.getClass().getDeclaredField( "field_74747_a" );
}
catch (Throwable z)
{
AELog.error( t );
AELog.error( z );
}
}
}