misc cleaning

add lenses to non blocking list
This commit is contained in:
PrototypeTrousers
2022-02-10 20:15:58 -03:00
parent 64f29a7dba
commit b541ad8d18
5 changed files with 23 additions and 8 deletions
@@ -57,6 +57,18 @@ public class NonBlockingItems
NON_BLOCKING_MAP.get( modid ).add( AEItemStack.fromItemStack( metaItem2.getStackForm() ) );
break;
}
else
{
ItemStack itemStack = GameRegistry.makeItemStack( ModItemMeta[0] + ":" + ModItemMeta[1], ModItemMeta.length == 3 ? Integer.parseInt( ModItemMeta[2] ) : 0, 1, null );
if( !itemStack.isEmpty() )
{
NON_BLOCKING_MAP.get( modid ).add( AEItemStack.fromItemStack( itemStack ) );
}
else
{
AELog.error( "Item not found on nonBlocking config: " + s );
}
}
}
}
else